---
id: work-items
title: WorkItems
pagination_label: WorkItems
sidebar_label: WorkItems
sidebar_class_name: gosdk
keywords: ['go', 'Golang', 'sdk', 'WorkItems', 'WorkItems'] 
slug: /tools/sdk/go/v3/models/work-items
tags: ['SDK', 'Software Development Kit', 'WorkItems', 'WorkItems']
---

# WorkItems

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | Pointer to **string** | ID of the work item | [optional] 
**RequesterId** | Pointer to **NullableString** | ID of the requester | [optional] 
**RequesterDisplayName** | Pointer to **NullableString** | The displayname of the requester | [optional] 
**OwnerId** | Pointer to **NullableString** | The ID of the owner | [optional] 
**OwnerName** | Pointer to **string** | The name of the owner | [optional] 
**Created** | Pointer to **SailPointTime** | Time when the work item was created | [optional] 
**Modified** | Pointer to **NullableTime** | Time when the work item was last updated | [optional] 
**Description** | Pointer to **string** | The description of the work item | [optional] 
**State** | Pointer to [**WorkItemStateManualWorkItems**](work-item-state-manual-work-items) |  | [optional] 
**Type** | Pointer to [**WorkItemTypeManualWorkItems**](work-item-type-manual-work-items) |  | [optional] 
**RemediationItems** | Pointer to [**[]RemediationItemDetails**](remediation-item-details) | A list of remediation items | [optional] 
**ApprovalItems** | Pointer to [**[]ApprovalItemDetails**](approval-item-details) | A list of items that need to be approved | [optional] 
**Name** | Pointer to **NullableString** | The work item name | [optional] 
**Completed** | Pointer to **NullableTime** | The time at which the work item completed | [optional] 
**NumItems** | Pointer to **NullableInt32** | The number of items in the work item | [optional] 
**Form** | Pointer to [**WorkItemsForm**](work-items-form) |  | [optional] 
**Errors** | Pointer to **[]string** | An array of errors that ocurred during the work item | [optional] 

## Methods

### NewWorkItems

`func NewWorkItems() *WorkItems`

NewWorkItems instantiates a new WorkItems 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

### NewWorkItemsWithDefaults

`func NewWorkItemsWithDefaults() *WorkItems`

NewWorkItemsWithDefaults instantiates a new WorkItems 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

### GetId

`func (o *WorkItems) GetId() string`

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

### GetIdOk

`func (o *WorkItems) 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.

### SetId

`func (o *WorkItems) SetId(v string)`

SetId sets Id field to given value.

### HasId

`func (o *WorkItems) HasId() bool`

HasId returns a boolean if a field has been set.

### GetRequesterId

`func (o *WorkItems) GetRequesterId() string`

GetRequesterId returns the RequesterId field if non-nil, zero value otherwise.

### GetRequesterIdOk

`func (o *WorkItems) 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.

### SetRequesterId

`func (o *WorkItems) SetRequesterId(v string)`

SetRequesterId sets RequesterId field to given value.

### HasRequesterId

`func (o *WorkItems) HasRequesterId() bool`

HasRequesterId returns a boolean if a field has been set.

### SetRequesterIdNil

`func (o *WorkItems) SetRequesterIdNil(b bool)`

 SetRequesterIdNil sets the value for RequesterId to be an explicit nil

### UnsetRequesterId
`func (o *WorkItems) UnsetRequesterId()`

UnsetRequesterId ensures that no value is present for RequesterId, not even an explicit nil
### GetRequesterDisplayName

`func (o *WorkItems) GetRequesterDisplayName() string`

GetRequesterDisplayName returns the RequesterDisplayName field if non-nil, zero value otherwise.

### GetRequesterDisplayNameOk

`func (o *WorkItems) GetRequesterDisplayNameOk() (*string, bool)`

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

### SetRequesterDisplayName

`func (o *WorkItems) SetRequesterDisplayName(v string)`

SetRequesterDisplayName sets RequesterDisplayName field to given value.

### HasRequesterDisplayName

`func (o *WorkItems) HasRequesterDisplayName() bool`

HasRequesterDisplayName returns a boolean if a field has been set.

### SetRequesterDisplayNameNil

`func (o *WorkItems) SetRequesterDisplayNameNil(b bool)`

 SetRequesterDisplayNameNil sets the value for RequesterDisplayName to be an explicit nil

### UnsetRequesterDisplayName
`func (o *WorkItems) UnsetRequesterDisplayName()`

UnsetRequesterDisplayName ensures that no value is present for RequesterDisplayName, not even an explicit nil
### GetOwnerId

`func (o *WorkItems) GetOwnerId() string`

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

### GetOwnerIdOk

`func (o *WorkItems) GetOwnerIdOk() (*string, bool)`

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

### SetOwnerId

`func (o *WorkItems) SetOwnerId(v string)`

SetOwnerId sets OwnerId field to given value.

### HasOwnerId

`func (o *WorkItems) HasOwnerId() bool`

HasOwnerId returns a boolean if a field has been set.

### SetOwnerIdNil

`func (o *WorkItems) SetOwnerIdNil(b bool)`

 SetOwnerIdNil sets the value for OwnerId to be an explicit nil

### UnsetOwnerId
`func (o *WorkItems) UnsetOwnerId()`

UnsetOwnerId ensures that no value is present for OwnerId, not even an explicit nil
### GetOwnerName

`func (o *WorkItems) GetOwnerName() string`

GetOwnerName returns the OwnerName field if non-nil, zero value otherwise.

### GetOwnerNameOk

`func (o *WorkItems) GetOwnerNameOk() (*string, bool)`

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

### SetOwnerName

`func (o *WorkItems) SetOwnerName(v string)`

SetOwnerName sets OwnerName field to given value.

### HasOwnerName

`func (o *WorkItems) HasOwnerName() bool`

HasOwnerName returns a boolean if a field has been set.

### GetCreated

`func (o *WorkItems) GetCreated() SailPointTime`

GetCreated returns the Created field if non-nil, zero value otherwise.

### GetCreatedOk

`func (o *WorkItems) GetCreatedOk() (*SailPointTime, bool)`

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

### SetCreated

`func (o *WorkItems) SetCreated(v SailPointTime)`

SetCreated sets Created field to given value.

### HasCreated

`func (o *WorkItems) HasCreated() bool`

HasCreated returns a boolean if a field has been set.

### GetModified

`func (o *WorkItems) GetModified() SailPointTime`

GetModified returns the Modified field if non-nil, zero value otherwise.

### GetModifiedOk

`func (o *WorkItems) GetModifiedOk() (*SailPointTime, bool)`

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

### SetModified

`func (o *WorkItems) SetModified(v SailPointTime)`

SetModified sets Modified field to given value.

### HasModified

`func (o *WorkItems) HasModified() bool`

HasModified returns a boolean if a field has been set.

### SetModifiedNil

`func (o *WorkItems) SetModifiedNil(b bool)`

 SetModifiedNil sets the value for Modified to be an explicit nil

### UnsetModified
`func (o *WorkItems) UnsetModified()`

UnsetModified ensures that no value is present for Modified, not even an explicit nil
### GetDescription

`func (o *WorkItems) GetDescription() string`

GetDescription returns the Description field if non-nil, zero value otherwise.

### GetDescriptionOk

`func (o *WorkItems) GetDescriptionOk() (*string, bool)`

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

### SetDescription

`func (o *WorkItems) SetDescription(v string)`

SetDescription sets Description field to given value.

### HasDescription

`func (o *WorkItems) HasDescription() bool`

HasDescription returns a boolean if a field has been set.

### GetState

`func (o *WorkItems) GetState() WorkItemStateManualWorkItems`

GetState returns the State field if non-nil, zero value otherwise.

### GetStateOk

`func (o *WorkItems) GetStateOk() (*WorkItemStateManualWorkItems, bool)`

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

### SetState

`func (o *WorkItems) SetState(v WorkItemStateManualWorkItems)`

SetState sets State field to given value.

### HasState

`func (o *WorkItems) HasState() bool`

HasState returns a boolean if a field has been set.

### GetType

`func (o *WorkItems) GetType() WorkItemTypeManualWorkItems`

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

### GetTypeOk

`func (o *WorkItems) GetTypeOk() (*WorkItemTypeManualWorkItems, 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 *WorkItems) SetType(v WorkItemTypeManualWorkItems)`

SetType sets Type field to given value.

### HasType

`func (o *WorkItems) HasType() bool`

HasType returns a boolean if a field has been set.

### GetRemediationItems

`func (o *WorkItems) GetRemediationItems() []RemediationItemDetails`

GetRemediationItems returns the RemediationItems field if non-nil, zero value otherwise.

### GetRemediationItemsOk

`func (o *WorkItems) GetRemediationItemsOk() (*[]RemediationItemDetails, bool)`

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

### SetRemediationItems

`func (o *WorkItems) SetRemediationItems(v []RemediationItemDetails)`

SetRemediationItems sets RemediationItems field to given value.

### HasRemediationItems

`func (o *WorkItems) HasRemediationItems() bool`

HasRemediationItems returns a boolean if a field has been set.

### SetRemediationItemsNil

`func (o *WorkItems) SetRemediationItemsNil(b bool)`

 SetRemediationItemsNil sets the value for RemediationItems to be an explicit nil

### UnsetRemediationItems
`func (o *WorkItems) UnsetRemediationItems()`

UnsetRemediationItems ensures that no value is present for RemediationItems, not even an explicit nil
### GetApprovalItems

`func (o *WorkItems) GetApprovalItems() []ApprovalItemDetails`

GetApprovalItems returns the ApprovalItems field if non-nil, zero value otherwise.

### GetApprovalItemsOk

`func (o *WorkItems) GetApprovalItemsOk() (*[]ApprovalItemDetails, bool)`

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

### SetApprovalItems

`func (o *WorkItems) SetApprovalItems(v []ApprovalItemDetails)`

SetApprovalItems sets ApprovalItems field to given value.

### HasApprovalItems

`func (o *WorkItems) HasApprovalItems() bool`

HasApprovalItems returns a boolean if a field has been set.

### SetApprovalItemsNil

`func (o *WorkItems) SetApprovalItemsNil(b bool)`

 SetApprovalItemsNil sets the value for ApprovalItems to be an explicit nil

### UnsetApprovalItems
`func (o *WorkItems) UnsetApprovalItems()`

UnsetApprovalItems ensures that no value is present for ApprovalItems, not even an explicit nil
### GetName

`func (o *WorkItems) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *WorkItems) GetNameOk() (*string, bool)`

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

### SetName

`func (o *WorkItems) SetName(v string)`

SetName sets Name field to given value.

### HasName

`func (o *WorkItems) HasName() bool`

HasName returns a boolean if a field has been set.

### SetNameNil

`func (o *WorkItems) SetNameNil(b bool)`

 SetNameNil sets the value for Name to be an explicit nil

### UnsetName
`func (o *WorkItems) UnsetName()`

UnsetName ensures that no value is present for Name, not even an explicit nil
### GetCompleted

`func (o *WorkItems) GetCompleted() SailPointTime`

GetCompleted returns the Completed field if non-nil, zero value otherwise.

### GetCompletedOk

`func (o *WorkItems) GetCompletedOk() (*SailPointTime, bool)`

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

### SetCompleted

`func (o *WorkItems) SetCompleted(v SailPointTime)`

SetCompleted sets Completed field to given value.

### HasCompleted

`func (o *WorkItems) HasCompleted() bool`

HasCompleted returns a boolean if a field has been set.

### SetCompletedNil

`func (o *WorkItems) SetCompletedNil(b bool)`

 SetCompletedNil sets the value for Completed to be an explicit nil

### UnsetCompleted
`func (o *WorkItems) UnsetCompleted()`

UnsetCompleted ensures that no value is present for Completed, not even an explicit nil
### GetNumItems

`func (o *WorkItems) GetNumItems() int32`

GetNumItems returns the NumItems field if non-nil, zero value otherwise.

### GetNumItemsOk

`func (o *WorkItems) GetNumItemsOk() (*int32, bool)`

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

### SetNumItems

`func (o *WorkItems) SetNumItems(v int32)`

SetNumItems sets NumItems field to given value.

### HasNumItems

`func (o *WorkItems) HasNumItems() bool`

HasNumItems returns a boolean if a field has been set.

### SetNumItemsNil

`func (o *WorkItems) SetNumItemsNil(b bool)`

 SetNumItemsNil sets the value for NumItems to be an explicit nil

### UnsetNumItems
`func (o *WorkItems) UnsetNumItems()`

UnsetNumItems ensures that no value is present for NumItems, not even an explicit nil
### GetForm

`func (o *WorkItems) GetForm() WorkItemsForm`

GetForm returns the Form field if non-nil, zero value otherwise.

### GetFormOk

`func (o *WorkItems) GetFormOk() (*WorkItemsForm, bool)`

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

### SetForm

`func (o *WorkItems) SetForm(v WorkItemsForm)`

SetForm sets Form field to given value.

### HasForm

`func (o *WorkItems) HasForm() bool`

HasForm returns a boolean if a field has been set.

### GetErrors

`func (o *WorkItems) GetErrors() []string`

GetErrors returns the Errors field if non-nil, zero value otherwise.

### GetErrorsOk

`func (o *WorkItems) GetErrorsOk() (*[]string, bool)`

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

### SetErrors

`func (o *WorkItems) SetErrors(v []string)`

SetErrors sets Errors field to given value.

### HasErrors

`func (o *WorkItems) HasErrors() bool`

HasErrors returns a boolean if a field has been set.


