Skip to main content

ObjectMappingRequest

Properties

NameTypeDescriptionNotes
ObjectTypestringType of the object the mapping value applies to, must be one from enum
JsonPathstringJSONPath expression denoting the path within the object where the mapping value should be applied
SourceValuestringOriginal value at the jsonPath location within the object
TargetValuestringValue to be assigned at the jsonPath location within the object
EnabledPointer to boolWhether or not this object mapping is enabled[optional] [default to false]

Methods

NewObjectMappingRequest

func NewObjectMappingRequest(objectType string, jsonPath string, sourceValue string, targetValue string, ) *ObjectMappingRequest

NewObjectMappingRequest instantiates a new ObjectMappingRequest 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

NewObjectMappingRequestWithDefaults

func NewObjectMappingRequestWithDefaults() *ObjectMappingRequest

NewObjectMappingRequestWithDefaults instantiates a new ObjectMappingRequest 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

GetObjectType

func (o *ObjectMappingRequest) GetObjectType() string

GetObjectType returns the ObjectType field if non-nil, zero value otherwise.

GetObjectTypeOk

func (o *ObjectMappingRequest) GetObjectTypeOk() (*string, bool)

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

SetObjectType

func (o *ObjectMappingRequest) SetObjectType(v string)

SetObjectType sets ObjectType field to given value.

GetJsonPath

func (o *ObjectMappingRequest) GetJsonPath() string

GetJsonPath returns the JsonPath field if non-nil, zero value otherwise.

GetJsonPathOk

func (o *ObjectMappingRequest) GetJsonPathOk() (*string, bool)

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

SetJsonPath

func (o *ObjectMappingRequest) SetJsonPath(v string)

SetJsonPath sets JsonPath field to given value.

GetSourceValue

func (o *ObjectMappingRequest) GetSourceValue() string

GetSourceValue returns the SourceValue field if non-nil, zero value otherwise.

GetSourceValueOk

func (o *ObjectMappingRequest) GetSourceValueOk() (*string, bool)

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

SetSourceValue

func (o *ObjectMappingRequest) SetSourceValue(v string)

SetSourceValue sets SourceValue field to given value.

GetTargetValue

func (o *ObjectMappingRequest) GetTargetValue() string

GetTargetValue returns the TargetValue field if non-nil, zero value otherwise.

GetTargetValueOk

func (o *ObjectMappingRequest) GetTargetValueOk() (*string, bool)

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

SetTargetValue

func (o *ObjectMappingRequest) SetTargetValue(v string)

SetTargetValue sets TargetValue field to given value.

GetEnabled

func (o *ObjectMappingRequest) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *ObjectMappingRequest) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *ObjectMappingRequest) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *ObjectMappingRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.