Name | Type | Description | Notes |
---|---|---|---|
ObjectTypes | []string | ||
Type | CustomFieldTypeValue | ||
RelatedObjectType | Pointer to NullableString | [optional] | |
Name | string | Internal field name | |
Label | Pointer to string | Name of the field as displayed to users (if not provided, 'the field's name will be used) | [optional] |
GroupName | Pointer to string | Custom fields within the same group will be displayed together | [optional] |
Description | Pointer to string | [optional] | |
Required | Pointer to bool | If true, this field is required when creating new objects or editing an existing object. | [optional] |
SearchWeight | Pointer to int32 | Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored. | [optional] |
FilterLogic | Pointer to CustomFieldFilterLogicValue | [optional] | |
UiVisible | Pointer to CustomFieldUiVisibleValue | [optional] | |
UiEditable | Pointer to CustomFieldUiEditableValue | [optional] | |
IsCloneable | Pointer to bool | Replicate this value when cloning objects | [optional] |
Default | Pointer to interface{} | Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). | [optional] |
Weight | Pointer to int32 | Fields with higher weights appear lower in a form. | [optional] |
ValidationMinimum | Pointer to NullableInt64 | Minimum allowed value (for numeric fields) | [optional] |
ValidationMaximum | Pointer to NullableInt64 | Maximum allowed value (for numeric fields) | [optional] |
ValidationRegex | Pointer to string | Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, <code>^[A-Z]{3}$</code> will limit values to exactly three uppercase letters. | [optional] |
ChoiceSet | Pointer to NullableCustomFieldChoiceSetRequest | [optional] | |
Comments | Pointer to string | [optional] |
func NewCustomFieldRequest(objectTypes []string, type_ CustomFieldTypeValue, name string, ) *CustomFieldRequest
NewCustomFieldRequest instantiates a new CustomFieldRequest 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 NewCustomFieldRequestWithDefaults() *CustomFieldRequest
NewCustomFieldRequestWithDefaults instantiates a new CustomFieldRequest 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 *CustomFieldRequest) GetObjectTypes() []string
GetObjectTypes returns the ObjectTypes field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetObjectTypesOk() (*[]string, bool)
GetObjectTypesOk returns a tuple with the ObjectTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetObjectTypes(v []string)
SetObjectTypes sets ObjectTypes field to given value.
func (o *CustomFieldRequest) GetType() CustomFieldTypeValue
GetType returns the Type field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetTypeOk() (*CustomFieldTypeValue, 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.
func (o *CustomFieldRequest) SetType(v CustomFieldTypeValue)
SetType sets Type field to given value.
func (o *CustomFieldRequest) GetRelatedObjectType() string
GetRelatedObjectType returns the RelatedObjectType field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetRelatedObjectTypeOk() (*string, bool)
GetRelatedObjectTypeOk returns a tuple with the RelatedObjectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetRelatedObjectType(v string)
SetRelatedObjectType sets RelatedObjectType field to given value.
func (o *CustomFieldRequest) HasRelatedObjectType() bool
HasRelatedObjectType returns a boolean if a field has been set.
func (o *CustomFieldRequest) SetRelatedObjectTypeNil(b bool)
SetRelatedObjectTypeNil sets the value for RelatedObjectType to be an explicit nil
func (o *CustomFieldRequest) UnsetRelatedObjectType()
UnsetRelatedObjectType ensures that no value is present for RelatedObjectType, not even an explicit nil
func (o *CustomFieldRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) 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.
func (o *CustomFieldRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CustomFieldRequest) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *CustomFieldRequest) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetGroupName() string
GetGroupName returns the GroupName field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetGroupName(v string)
SetGroupName sets GroupName field to given value.
func (o *CustomFieldRequest) HasGroupName() bool
HasGroupName returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) 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 *CustomFieldRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CustomFieldRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetRequired() bool
GetRequired returns the Required field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetRequiredOk() (*bool, bool)
GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetRequired(v bool)
SetRequired sets Required field to given value.
func (o *CustomFieldRequest) HasRequired() bool
HasRequired returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetSearchWeight() int32
GetSearchWeight returns the SearchWeight field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetSearchWeightOk() (*int32, bool)
GetSearchWeightOk returns a tuple with the SearchWeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetSearchWeight(v int32)
SetSearchWeight sets SearchWeight field to given value.
func (o *CustomFieldRequest) HasSearchWeight() bool
HasSearchWeight returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetFilterLogic() CustomFieldFilterLogicValue
GetFilterLogic returns the FilterLogic field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetFilterLogicOk() (*CustomFieldFilterLogicValue, bool)
GetFilterLogicOk returns a tuple with the FilterLogic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetFilterLogic(v CustomFieldFilterLogicValue)
SetFilterLogic sets FilterLogic field to given value.
func (o *CustomFieldRequest) HasFilterLogic() bool
HasFilterLogic returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetUiVisible() CustomFieldUiVisibleValue
GetUiVisible returns the UiVisible field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetUiVisibleOk() (*CustomFieldUiVisibleValue, bool)
GetUiVisibleOk returns a tuple with the UiVisible field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetUiVisible(v CustomFieldUiVisibleValue)
SetUiVisible sets UiVisible field to given value.
func (o *CustomFieldRequest) HasUiVisible() bool
HasUiVisible returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetUiEditable() CustomFieldUiEditableValue
GetUiEditable returns the UiEditable field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetUiEditableOk() (*CustomFieldUiEditableValue, bool)
GetUiEditableOk returns a tuple with the UiEditable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetUiEditable(v CustomFieldUiEditableValue)
SetUiEditable sets UiEditable field to given value.
func (o *CustomFieldRequest) HasUiEditable() bool
HasUiEditable returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetIsCloneable() bool
GetIsCloneable returns the IsCloneable field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetIsCloneableOk() (*bool, bool)
GetIsCloneableOk returns a tuple with the IsCloneable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetIsCloneable(v bool)
SetIsCloneable sets IsCloneable field to given value.
func (o *CustomFieldRequest) HasIsCloneable() bool
HasIsCloneable returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetDefault() interface{}
GetDefault returns the Default field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetDefaultOk() (*interface{}, bool)
GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetDefault(v interface{})
SetDefault sets Default field to given value.
func (o *CustomFieldRequest) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (o *CustomFieldRequest) SetDefaultNil(b bool)
SetDefaultNil sets the value for Default to be an explicit nil
func (o *CustomFieldRequest) UnsetDefault()
UnsetDefault ensures that no value is present for Default, not even an explicit nil
func (o *CustomFieldRequest) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *CustomFieldRequest) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetValidationMinimum() int64
GetValidationMinimum returns the ValidationMinimum field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetValidationMinimumOk() (*int64, bool)
GetValidationMinimumOk returns a tuple with the ValidationMinimum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetValidationMinimum(v int64)
SetValidationMinimum sets ValidationMinimum field to given value.
func (o *CustomFieldRequest) HasValidationMinimum() bool
HasValidationMinimum returns a boolean if a field has been set.
func (o *CustomFieldRequest) SetValidationMinimumNil(b bool)
SetValidationMinimumNil sets the value for ValidationMinimum to be an explicit nil
func (o *CustomFieldRequest) UnsetValidationMinimum()
UnsetValidationMinimum ensures that no value is present for ValidationMinimum, not even an explicit nil
func (o *CustomFieldRequest) GetValidationMaximum() int64
GetValidationMaximum returns the ValidationMaximum field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetValidationMaximumOk() (*int64, bool)
GetValidationMaximumOk returns a tuple with the ValidationMaximum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetValidationMaximum(v int64)
SetValidationMaximum sets ValidationMaximum field to given value.
func (o *CustomFieldRequest) HasValidationMaximum() bool
HasValidationMaximum returns a boolean if a field has been set.
func (o *CustomFieldRequest) SetValidationMaximumNil(b bool)
SetValidationMaximumNil sets the value for ValidationMaximum to be an explicit nil
func (o *CustomFieldRequest) UnsetValidationMaximum()
UnsetValidationMaximum ensures that no value is present for ValidationMaximum, not even an explicit nil
func (o *CustomFieldRequest) GetValidationRegex() string
GetValidationRegex returns the ValidationRegex field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetValidationRegexOk() (*string, bool)
GetValidationRegexOk returns a tuple with the ValidationRegex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetValidationRegex(v string)
SetValidationRegex sets ValidationRegex field to given value.
func (o *CustomFieldRequest) HasValidationRegex() bool
HasValidationRegex returns a boolean if a field has been set.
func (o *CustomFieldRequest) GetChoiceSet() CustomFieldChoiceSetRequest
GetChoiceSet returns the ChoiceSet field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetChoiceSetOk() (*CustomFieldChoiceSetRequest, bool)
GetChoiceSetOk returns a tuple with the ChoiceSet field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetChoiceSet(v CustomFieldChoiceSetRequest)
SetChoiceSet sets ChoiceSet field to given value.
func (o *CustomFieldRequest) HasChoiceSet() bool
HasChoiceSet returns a boolean if a field has been set.
func (o *CustomFieldRequest) SetChoiceSetNil(b bool)
SetChoiceSetNil sets the value for ChoiceSet to be an explicit nil
func (o *CustomFieldRequest) UnsetChoiceSet()
UnsetChoiceSet ensures that no value is present for ChoiceSet, not even an explicit nil
func (o *CustomFieldRequest) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
func (o *CustomFieldRequest) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CustomFieldRequest) SetComments(v string)
SetComments sets Comments field to given value.
func (o *CustomFieldRequest) HasComments() bool
HasComments returns a boolean if a field has been set.