| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | The unique identifier of the request. | |
| CreatedAt | time.Time | The date and time the request was created. | |
| UpdatedAt | time.Time | The date and time the request was last updated. | |
| RequesterId | string | The unique identifier of the user who created the request. | |
| TargetUserId | Pointer to string | The unique identifier of the user who is the target of the request. | [optional] |
| TargetGroupId | Pointer to string | The unique identifier of the group who is the target of the request. | [optional] |
| Status | RequestStatusEnum | The status of the request. | |
| Reason | string | The reason for the request. | |
| DurationMinutes | Pointer to int32 | The duration of the request in minutes. | [optional] |
| RequestedItemsList | Pointer to []RequestedItem | The list of targets for the request. | [optional] |
| CustomFieldsResponses | Pointer to []RequestCustomFieldResponse | The responses given to the custom fields associated to the request | [optional] |
| Stages | Pointer to RequestItemStages | The stages configuration for this request | [optional] |
| ReviewerStages | Pointer to RequestReviewerStages | [optional] |
func NewRequest(id string, createdAt time.Time, updatedAt time.Time, requesterId string, status RequestStatusEnum, reason string, ) *Request
NewRequest instantiates a new Request 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 NewRequestWithDefaults() *Request
NewRequestWithDefaults instantiates a new Request 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 *Request) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Request) GetIdOk() (*string, 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 *Request) SetId(v string)
SetId sets Id field to given value.
func (o *Request) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Request) 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 *Request) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Request) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Request) 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 *Request) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Request) GetRequesterId() string
GetRequesterId returns the RequesterId field if non-nil, zero value otherwise.
func (o *Request) GetRequesterIdOk() (*string, bool)
GetRequesterIdOk returns a tuple with the RequesterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetRequesterId(v string)
SetRequesterId sets RequesterId field to given value.
func (o *Request) GetTargetUserId() string
GetTargetUserId returns the TargetUserId field if non-nil, zero value otherwise.
func (o *Request) GetTargetUserIdOk() (*string, bool)
GetTargetUserIdOk returns a tuple with the TargetUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetTargetUserId(v string)
SetTargetUserId sets TargetUserId field to given value.
func (o *Request) HasTargetUserId() bool
HasTargetUserId returns a boolean if a field has been set.
func (o *Request) GetTargetGroupId() string
GetTargetGroupId returns the TargetGroupId field if non-nil, zero value otherwise.
func (o *Request) GetTargetGroupIdOk() (*string, bool)
GetTargetGroupIdOk returns a tuple with the TargetGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetTargetGroupId(v string)
SetTargetGroupId sets TargetGroupId field to given value.
func (o *Request) HasTargetGroupId() bool
HasTargetGroupId returns a boolean if a field has been set.
func (o *Request) GetStatus() RequestStatusEnum
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Request) GetStatusOk() (*RequestStatusEnum, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetStatus(v RequestStatusEnum)
SetStatus sets Status field to given value.
func (o *Request) GetReason() string
GetReason returns the Reason field if non-nil, zero value otherwise.
func (o *Request) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetReason(v string)
SetReason sets Reason field to given value.
func (o *Request) GetDurationMinutes() int32
GetDurationMinutes returns the DurationMinutes field if non-nil, zero value otherwise.
func (o *Request) GetDurationMinutesOk() (*int32, bool)
GetDurationMinutesOk returns a tuple with the DurationMinutes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetDurationMinutes(v int32)
SetDurationMinutes sets DurationMinutes field to given value.
func (o *Request) HasDurationMinutes() bool
HasDurationMinutes returns a boolean if a field has been set.
func (o *Request) GetRequestedItemsList() []RequestedItem
GetRequestedItemsList returns the RequestedItemsList field if non-nil, zero value otherwise.
func (o *Request) GetRequestedItemsListOk() (*[]RequestedItem, bool)
GetRequestedItemsListOk returns a tuple with the RequestedItemsList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetRequestedItemsList(v []RequestedItem)
SetRequestedItemsList sets RequestedItemsList field to given value.
func (o *Request) HasRequestedItemsList() bool
HasRequestedItemsList returns a boolean if a field has been set.
func (o *Request) GetCustomFieldsResponses() []RequestCustomFieldResponse
GetCustomFieldsResponses returns the CustomFieldsResponses field if non-nil, zero value otherwise.
func (o *Request) GetCustomFieldsResponsesOk() (*[]RequestCustomFieldResponse, bool)
GetCustomFieldsResponsesOk returns a tuple with the CustomFieldsResponses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetCustomFieldsResponses(v []RequestCustomFieldResponse)
SetCustomFieldsResponses sets CustomFieldsResponses field to given value.
func (o *Request) HasCustomFieldsResponses() bool
HasCustomFieldsResponses returns a boolean if a field has been set.
func (o *Request) GetStages() RequestItemStages
GetStages returns the Stages field if non-nil, zero value otherwise.
func (o *Request) GetStagesOk() (*RequestItemStages, bool)
GetStagesOk returns a tuple with the Stages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetStages(v RequestItemStages)
SetStages sets Stages field to given value.
func (o *Request) HasStages() bool
HasStages returns a boolean if a field has been set.
func (o *Request) GetReviewerStages() RequestReviewerStages
GetReviewerStages returns the ReviewerStages field if non-nil, zero value otherwise.
func (o *Request) GetReviewerStagesOk() (*RequestReviewerStages, bool)
GetReviewerStagesOk returns a tuple with the ReviewerStages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Request) SetReviewerStages(v RequestReviewerStages)
SetReviewerStages sets ReviewerStages field to given value.
func (o *Request) HasReviewerStages() bool
HasReviewerStages returns a boolean if a field has been set.