| Name | Type | Description | Notes |
|---|---|---|---|
| Content | string | Comment text content | |
| Id | int32 | ||
| UserId | int32 | ||
| ResourceType | string | ||
| ResourceId | string | ||
| Context | Pointer to NullableContext | [optional] | |
| CreatedAt | time.Time | ||
| UpdatedAt | time.Time |
func NewCommentResponse(content string, id int32, userId int32, resourceType string, resourceId string, createdAt time.Time, updatedAt time.Time, ) *CommentResponse
NewCommentResponse instantiates a new CommentResponse 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
func NewCommentResponseWithDefaults() *CommentResponse
NewCommentResponseWithDefaults instantiates a new CommentResponse 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
func (o *CommentResponse) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
func (o *CommentResponse) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetContent(v string)
SetContent sets Content field to given value.
func (o *CommentResponse) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CommentResponse) GetIdOk() (*int32, 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.
func (o *CommentResponse) SetId(v int32)
SetId sets Id field to given value.
func (o *CommentResponse) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *CommentResponse) GetUserIdOk() (*int32, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetUserId(v int32)
SetUserId sets UserId field to given value.
func (o *CommentResponse) GetResourceType() string
GetResourceType returns the ResourceType field if non-nil, zero value otherwise.
func (o *CommentResponse) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetResourceType(v string)
SetResourceType sets ResourceType field to given value.
func (o *CommentResponse) GetResourceId() string
GetResourceId returns the ResourceId field if non-nil, zero value otherwise.
func (o *CommentResponse) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetResourceId(v string)
SetResourceId sets ResourceId field to given value.
func (o *CommentResponse) GetContext() Context
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *CommentResponse) GetContextOk() (*Context, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetContext(v Context)
SetContext sets Context field to given value.
func (o *CommentResponse) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *CommentResponse) SetContextNil(b bool)
SetContextNil sets the value for Context to be an explicit nil
func (o *CommentResponse) UnsetContext()
UnsetContext ensures that no value is present for Context, not even an explicit nil
func (o *CommentResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *CommentResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *CommentResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *CommentResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CommentResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.