Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.61 KB

File metadata and controls

186 lines (101 loc) · 4.61 KB

ApiPolicyDTO

Properties

Name Type Description Notes
Id Pointer to string [optional]
Name Pointer to string [optional]
OwnerId Pointer to string [optional]
OwnerType Pointer to string [optional]
PolicyType Pointer to string [optional]
ThreatLevel Pointer to int32 [optional]

Methods

NewApiPolicyDTO

func NewApiPolicyDTO() *ApiPolicyDTO

NewApiPolicyDTO instantiates a new ApiPolicyDTO 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

NewApiPolicyDTOWithDefaults

func NewApiPolicyDTOWithDefaults() *ApiPolicyDTO

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

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *ApiPolicyDTO) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *ApiPolicyDTO) GetName() string

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

GetNameOk

func (o *ApiPolicyDTO) 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 *ApiPolicyDTO) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *ApiPolicyDTO) HasName() bool

HasName returns a boolean if a field has been set.

GetOwnerId

func (o *ApiPolicyDTO) GetOwnerId() string

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

GetOwnerIdOk

func (o *ApiPolicyDTO) 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 *ApiPolicyDTO) SetOwnerId(v string)

SetOwnerId sets OwnerId field to given value.

HasOwnerId

func (o *ApiPolicyDTO) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

GetOwnerType

func (o *ApiPolicyDTO) GetOwnerType() string

GetOwnerType returns the OwnerType field if non-nil, zero value otherwise.

GetOwnerTypeOk

func (o *ApiPolicyDTO) GetOwnerTypeOk() (*string, bool)

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

SetOwnerType

func (o *ApiPolicyDTO) SetOwnerType(v string)

SetOwnerType sets OwnerType field to given value.

HasOwnerType

func (o *ApiPolicyDTO) HasOwnerType() bool

HasOwnerType returns a boolean if a field has been set.

GetPolicyType

func (o *ApiPolicyDTO) GetPolicyType() string

GetPolicyType returns the PolicyType field if non-nil, zero value otherwise.

GetPolicyTypeOk

func (o *ApiPolicyDTO) GetPolicyTypeOk() (*string, bool)

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

SetPolicyType

func (o *ApiPolicyDTO) SetPolicyType(v string)

SetPolicyType sets PolicyType field to given value.

HasPolicyType

func (o *ApiPolicyDTO) HasPolicyType() bool

HasPolicyType returns a boolean if a field has been set.

GetThreatLevel

func (o *ApiPolicyDTO) GetThreatLevel() int32

GetThreatLevel returns the ThreatLevel field if non-nil, zero value otherwise.

GetThreatLevelOk

func (o *ApiPolicyDTO) GetThreatLevelOk() (*int32, bool)

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

SetThreatLevel

func (o *ApiPolicyDTO) SetThreatLevel(v int32)

SetThreatLevel sets ThreatLevel field to given value.

HasThreatLevel

func (o *ApiPolicyDTO) HasThreatLevel() bool

HasThreatLevel returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]