Name | Type | Description | Notes |
---|---|---|---|
Comment | Pointer to string | Optional description of changes | [optional] |
Instructions | []PatchSegmentInstruction | Semantic patch instructions for the desired changes to the resource |
func NewPatchSegmentRequest(instructions []PatchSegmentInstruction, ) *PatchSegmentRequest
NewPatchSegmentRequest instantiates a new PatchSegmentRequest 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 NewPatchSegmentRequestWithDefaults() *PatchSegmentRequest
NewPatchSegmentRequestWithDefaults instantiates a new PatchSegmentRequest 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 *PatchSegmentRequest) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *PatchSegmentRequest) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchSegmentRequest) SetComment(v string)
SetComment sets Comment field to given value.
func (o *PatchSegmentRequest) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *PatchSegmentRequest) GetInstructions() []PatchSegmentInstruction
GetInstructions returns the Instructions field if non-nil, zero value otherwise.
func (o *PatchSegmentRequest) GetInstructionsOk() (*[]PatchSegmentInstruction, bool)
GetInstructionsOk returns a tuple with the Instructions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchSegmentRequest) SetInstructions(v []PatchSegmentInstruction)
SetInstructions sets Instructions field to given value.