--- id: violation-owner-assignment-config-owner-ref title: ViolationOwnerAssignmentConfigOwnerRef pagination_label: ViolationOwnerAssignmentConfigOwnerRef sidebar_label: ViolationOwnerAssignmentConfigOwnerRef sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'ViolationOwnerAssignmentConfigOwnerRef', 'ViolationOwnerAssignmentConfigOwnerRef'] slug: /tools/sdk/go/v3/models/violation-owner-assignment-config-owner-ref tags: ['SDK', 'Software Development Kit', 'ViolationOwnerAssignmentConfigOwnerRef', 'ViolationOwnerAssignmentConfigOwnerRef'] --- # ViolationOwnerAssignmentConfigOwnerRef ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | Pointer to **NullableString** | Owner type. | [optional] **Id** | Pointer to **string** | Owner's ID. | [optional] **Name** | Pointer to **string** | Owner's name. | [optional] ## Methods ### NewViolationOwnerAssignmentConfigOwnerRef `func NewViolationOwnerAssignmentConfigOwnerRef() *ViolationOwnerAssignmentConfigOwnerRef` NewViolationOwnerAssignmentConfigOwnerRef instantiates a new ViolationOwnerAssignmentConfigOwnerRef 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 ### NewViolationOwnerAssignmentConfigOwnerRefWithDefaults `func NewViolationOwnerAssignmentConfigOwnerRefWithDefaults() *ViolationOwnerAssignmentConfigOwnerRef` NewViolationOwnerAssignmentConfigOwnerRefWithDefaults instantiates a new ViolationOwnerAssignmentConfigOwnerRef 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 ### GetType `func (o *ViolationOwnerAssignmentConfigOwnerRef) GetType() string` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk `func (o *ViolationOwnerAssignmentConfigOwnerRef) 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 *ViolationOwnerAssignmentConfigOwnerRef) SetType(v string)` SetType sets Type field to given value. ### HasType `func (o *ViolationOwnerAssignmentConfigOwnerRef) HasType() bool` HasType returns a boolean if a field has been set. ### SetTypeNil `func (o *ViolationOwnerAssignmentConfigOwnerRef) SetTypeNil(b bool)` SetTypeNil sets the value for Type to be an explicit nil ### UnsetType `func (o *ViolationOwnerAssignmentConfigOwnerRef) UnsetType()` UnsetType ensures that no value is present for Type, not even an explicit nil ### GetId `func (o *ViolationOwnerAssignmentConfigOwnerRef) GetId() string` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk `func (o *ViolationOwnerAssignmentConfigOwnerRef) 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 *ViolationOwnerAssignmentConfigOwnerRef) SetId(v string)` SetId sets Id field to given value. ### HasId `func (o *ViolationOwnerAssignmentConfigOwnerRef) HasId() bool` HasId returns a boolean if a field has been set. ### GetName `func (o *ViolationOwnerAssignmentConfigOwnerRef) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk `func (o *ViolationOwnerAssignmentConfigOwnerRef) 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 *ViolationOwnerAssignmentConfigOwnerRef) SetName(v string)` SetName sets Name field to given value. ### HasName `func (o *ViolationOwnerAssignmentConfigOwnerRef) HasName() bool` HasName returns a boolean if a field has been set.