Skip to main content

SODViolationCreatedPayloadPolicy

Properties​

NameTypeDescriptionNotes
IdPointer to stringPolicy ID.[optional]
TypePointer to stringPolicy type (always SOD for this webhook).[optional]

Methods​

NewSODViolationCreatedPayloadPolicy​

func NewSODViolationCreatedPayloadPolicy() *SODViolationCreatedPayloadPolicy

NewSODViolationCreatedPayloadPolicy instantiates a new SODViolationCreatedPayloadPolicy 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

NewSODViolationCreatedPayloadPolicyWithDefaults​

func NewSODViolationCreatedPayloadPolicyWithDefaults() *SODViolationCreatedPayloadPolicy

NewSODViolationCreatedPayloadPolicyWithDefaults instantiates a new SODViolationCreatedPayloadPolicy 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 *SODViolationCreatedPayloadPolicy) GetId() string

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

GetIdOk​

func (o *SODViolationCreatedPayloadPolicy) 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 *SODViolationCreatedPayloadPolicy) SetId(v string)

SetId sets Id field to given value.

HasId​

func (o *SODViolationCreatedPayloadPolicy) HasId() bool

HasId returns a boolean if a field has been set.

GetType​

func (o *SODViolationCreatedPayloadPolicy) GetType() string

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

GetTypeOk​

func (o *SODViolationCreatedPayloadPolicy) GetTypeOk() (*string, 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 *SODViolationCreatedPayloadPolicy) SetType(v string)

SetType sets Type field to given value.

HasType​

func (o *SODViolationCreatedPayloadPolicy) HasType() bool

HasType returns a boolean if a field has been set.