Files
Sipro-Marketplaces/pkg/api/yandex/ymclient/docs/ChatContextDTO.md
2025-08-15 11:10:28 +03:00

2.0 KiB

ChatContextDTO

Properties

Name Type Description Notes
Type ChatContextType
Id int64 Идентификатор заказа или возврата.

Methods

NewChatContextDTO

func NewChatContextDTO(type_ ChatContextType, id int64, ) *ChatContextDTO

NewChatContextDTO instantiates a new ChatContextDTO object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewChatContextDTOWithDefaults

func NewChatContextDTOWithDefaults() *ChatContextDTO

NewChatContextDTOWithDefaults instantiates a new ChatContextDTO object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetType

func (o *ChatContextDTO) GetType() ChatContextType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *ChatContextDTO) GetTypeOk() (*ChatContextType, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *ChatContextDTO) SetType(v ChatContextType)

SetType sets Type field to given value.

GetId

func (o *ChatContextDTO) GetId() int64

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *ChatContextDTO) GetIdOk() (*int64, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *ChatContextDTO) SetId(v int64)

SetId sets Id field to given value.

[Back to Model list] [Back to API list] [Back to README]