// This file is auto-generated, don't edit it. Thanks.
package client

import (
	"github.com/alibabacloud-go/tea/dara"
)

type iGetEdgeContainerLogsRequest interface {
	dara.Model
	String() string
	GoString() string
	SetAppId(v string) *GetEdgeContainerLogsRequest
	GetAppId() *string
	SetLines(v int32) *GetEdgeContainerLogsRequest
	GetLines() *int32
}

type GetEdgeContainerLogsRequest struct {
	// The application ID. You can call the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) operation to obtain the application ID.
	//
	// This parameter is required.
	//
	// example:
	//
	// app-88068867578379****
	AppId *string `json:"AppId,omitempty" xml:"AppId,omitempty"`
	// The number of log lines to output.	Notice: Valid values: 1 to 5000. If the value exceeds the upper limit, an error is returned.</notice>.
	//
	// This parameter is required.
	//
	// example:
	//
	// 500
	Lines *int32 `json:"Lines,omitempty" xml:"Lines,omitempty"`
}

func (s GetEdgeContainerLogsRequest) String() string {
	return dara.Prettify(s)
}

func (s GetEdgeContainerLogsRequest) GoString() string {
	return s.String()
}

func (s *GetEdgeContainerLogsRequest) GetAppId() *string {
	return s.AppId
}

func (s *GetEdgeContainerLogsRequest) GetLines() *int32 {
	return s.Lines
}

func (s *GetEdgeContainerLogsRequest) SetAppId(v string) *GetEdgeContainerLogsRequest {
	s.AppId = &v
	return s
}

func (s *GetEdgeContainerLogsRequest) SetLines(v int32) *GetEdgeContainerLogsRequest {
	s.Lines = &v
	return s
}

func (s *GetEdgeContainerLogsRequest) Validate() error {
	return dara.Validate(s)
}
