Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
ExternalId | string | [readonly] | |
Attributes | Pointer to map[string]interface{} | [optional] | |
Notes | Pointer to []string | [optional] | |
CreatedBy | Pointer to string | [optional] | |
CreatedOn | Pointer to time.Time | [optional] | |
ModifiedBy | Pointer to string | [optional] | |
ModifiedOn | Pointer to time.Time | [optional] | |
Category | Pointer to string | inquiry | software |
Description | string | ||
Impact | Pointer to string | [optional] [default to "Low"] | |
Priority | Pointer to string | [optional] [default to "Planning"] | |
Severity | Pointer to string | [optional] [default to "Low"] | |
State | Pointer to string | [optional] [default to "New"] | |
Subcategory | Pointer to string | [optional] | |
Tenant | Pointer to NullableString | [optional] | |
Urgency | Pointer to string | [optional] [default to "Low"] |
func NewIncident(id string, externalId string, description string, ) *Incident
NewIncident instantiates a new Incident 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 NewIncidentWithDefaults() *Incident
NewIncidentWithDefaults instantiates a new Incident 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 *Incident) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Incident) 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 *Incident) SetId(v string)
SetId sets Id field to given value.
func (o *Incident) GetExternalId() string
GetExternalId returns the ExternalId field if non-nil, zero value otherwise.
func (o *Incident) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetExternalId(v string)
SetExternalId sets ExternalId field to given value.
func (o *Incident) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *Incident) GetAttributesOk() (*map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetAttributes(v map[string]interface{})
SetAttributes sets Attributes field to given value.
func (o *Incident) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *Incident) GetNotes() []string
GetNotes returns the Notes field if non-nil, zero value otherwise.
func (o *Incident) GetNotesOk() (*[]string, bool)
GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetNotes(v []string)
SetNotes sets Notes field to given value.
func (o *Incident) HasNotes() bool
HasNotes returns a boolean if a field has been set.
func (o *Incident) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *Incident) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetCreatedBy(v string)
SetCreatedBy sets CreatedBy field to given value.
func (o *Incident) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *Incident) GetCreatedOn() time.Time
GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.
func (o *Incident) GetCreatedOnOk() (*time.Time, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetCreatedOn(v time.Time)
SetCreatedOn sets CreatedOn field to given value.
func (o *Incident) HasCreatedOn() bool
HasCreatedOn returns a boolean if a field has been set.
func (o *Incident) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.
func (o *Incident) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetModifiedBy(v string)
SetModifiedBy sets ModifiedBy field to given value.
func (o *Incident) HasModifiedBy() bool
HasModifiedBy returns a boolean if a field has been set.
func (o *Incident) GetModifiedOn() time.Time
GetModifiedOn returns the ModifiedOn field if non-nil, zero value otherwise.
func (o *Incident) GetModifiedOnOk() (*time.Time, bool)
GetModifiedOnOk returns a tuple with the ModifiedOn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetModifiedOn(v time.Time)
SetModifiedOn sets ModifiedOn field to given value.
func (o *Incident) HasModifiedOn() bool
HasModifiedOn returns a boolean if a field has been set.
func (o *Incident) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *Incident) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *Incident) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *Incident) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Incident) 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.
func (o *Incident) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Incident) GetImpact() string
GetImpact returns the Impact field if non-nil, zero value otherwise.
func (o *Incident) GetImpactOk() (*string, bool)
GetImpactOk returns a tuple with the Impact field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetImpact(v string)
SetImpact sets Impact field to given value.
func (o *Incident) HasImpact() bool
HasImpact returns a boolean if a field has been set.
func (o *Incident) GetPriority() string
GetPriority returns the Priority field if non-nil, zero value otherwise.
func (o *Incident) GetPriorityOk() (*string, bool)
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetPriority(v string)
SetPriority sets Priority field to given value.
func (o *Incident) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *Incident) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *Incident) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *Incident) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (o *Incident) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Incident) GetStateOk() (*string, 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.
func (o *Incident) SetState(v string)
SetState sets State field to given value.
func (o *Incident) HasState() bool
HasState returns a boolean if a field has been set.
func (o *Incident) GetSubcategory() string
GetSubcategory returns the Subcategory field if non-nil, zero value otherwise.
func (o *Incident) GetSubcategoryOk() (*string, bool)
GetSubcategoryOk returns a tuple with the Subcategory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetSubcategory(v string)
SetSubcategory sets Subcategory field to given value.
func (o *Incident) HasSubcategory() bool
HasSubcategory returns a boolean if a field has been set.
func (o *Incident) GetTenant() string
GetTenant returns the Tenant field if non-nil, zero value otherwise.
func (o *Incident) GetTenantOk() (*string, bool)
GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetTenant(v string)
SetTenant sets Tenant field to given value.
func (o *Incident) HasTenant() bool
HasTenant returns a boolean if a field has been set.
func (o *Incident) SetTenantNil(b bool)
SetTenantNil sets the value for Tenant to be an explicit nil
func (o *Incident) UnsetTenant()
UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
func (o *Incident) GetUrgency() string
GetUrgency returns the Urgency field if non-nil, zero value otherwise.
func (o *Incident) GetUrgencyOk() (*string, bool)
GetUrgencyOk returns a tuple with the Urgency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Incident) SetUrgency(v string)
SetUrgency sets Urgency field to given value.
func (o *Incident) HasUrgency() bool
HasUrgency returns a boolean if a field has been set.