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

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

type iCreateEdgeContainerAppImageSecretResponse interface {
	dara.Model
	String() string
	GoString() string
	SetHeaders(v map[string]*string) *CreateEdgeContainerAppImageSecretResponse
	GetHeaders() map[string]*string
	SetStatusCode(v int32) *CreateEdgeContainerAppImageSecretResponse
	GetStatusCode() *int32
	SetBody(v *CreateEdgeContainerAppImageSecretResponseBody) *CreateEdgeContainerAppImageSecretResponse
	GetBody() *CreateEdgeContainerAppImageSecretResponseBody
}

type CreateEdgeContainerAppImageSecretResponse struct {
	Headers    map[string]*string                             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateEdgeContainerAppImageSecretResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

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

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

func (s *CreateEdgeContainerAppImageSecretResponse) GetHeaders() map[string]*string {
	return s.Headers
}

func (s *CreateEdgeContainerAppImageSecretResponse) GetStatusCode() *int32 {
	return s.StatusCode
}

func (s *CreateEdgeContainerAppImageSecretResponse) GetBody() *CreateEdgeContainerAppImageSecretResponseBody {
	return s.Body
}

func (s *CreateEdgeContainerAppImageSecretResponse) SetHeaders(v map[string]*string) *CreateEdgeContainerAppImageSecretResponse {
	s.Headers = v
	return s
}

func (s *CreateEdgeContainerAppImageSecretResponse) SetStatusCode(v int32) *CreateEdgeContainerAppImageSecretResponse {
	s.StatusCode = &v
	return s
}

func (s *CreateEdgeContainerAppImageSecretResponse) SetBody(v *CreateEdgeContainerAppImageSecretResponseBody) *CreateEdgeContainerAppImageSecretResponse {
	s.Body = v
	return s
}

func (s *CreateEdgeContainerAppImageSecretResponse) Validate() error {
	if s.Body != nil {
		if err := s.Body.Validate(); err != nil {
			return err
		}
	}
	return nil
}
