JITTicketConnectionTestResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Success | bool | True when the connection to the configured ServiceNow instance succeeded. | |
| StatusCode | Pointer to NullableInt32 | HTTP status returned by ServiceNow or by the OAuth token endpoint. Null when no HTTP response was received, such as a timeout or a missing credential reference. | [optional] |
| ErrorMessage | Pointer to NullableString | Failure detail. Null when success is true. | [optional] |
Methods
NewJITTicketConnectionTestResponse
func NewJITTicketConnectionTestResponse(success bool, ) *JITTicketConnectionTestResponse
NewJITTicketConnectionTestResponse instantiates a new JITTicketConnectionTestResponse 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
NewJITTicketConnectionTestResponseWithDefaults
func NewJITTicketConnectionTestResponseWithDefaults() *JITTicketConnectionTestResponse
NewJITTicketConnectionTestResponseWithDefaults instantiates a new JITTicketConnectionTestResponse 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
GetSuccess
func (o *JITTicketConnectionTestResponse) GetSuccess() bool
GetSuccess returns the Success field if non-nil, zero value otherwise.
GetSuccessOk
func (o *JITTicketConnectionTestResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSuccess
func (o *JITTicketConnectionTestResponse) SetSuccess(v bool)
SetSuccess sets Success field to given value.
GetStatusCode
func (o *JITTicketConnectionTestResponse) GetStatusCode() int32
GetStatusCode returns the StatusCode field if non-nil, zero value otherwise.
GetStatusCodeOk
func (o *JITTicketConnectionTestResponse) GetStatusCodeOk() (*int32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStatusCode
func (o *JITTicketConnectionTestResponse) SetStatusCode(v int32)
SetStatusCode sets StatusCode field to given value.
HasStatusCode
func (o *JITTicketConnectionTestResponse) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
SetStatusCodeNil
func (o *JITTicketConnectionTestResponse) SetStatusCodeNil(b bool)
SetStatusCodeNil sets the value for StatusCode to be an explicit nil
UnsetStatusCode
func (o *JITTicketConnectionTestResponse) UnsetStatusCode()
UnsetStatusCode ensures that no value is present for StatusCode, not even an explicit nil
GetErrorMessage
func (o *JITTicketConnectionTestResponse) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.
GetErrorMessageOk
func (o *JITTicketConnectionTestResponse) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetErrorMessage
func (o *JITTicketConnectionTestResponse) SetErrorMessage(v string)
SetErrorMessage sets ErrorMessage field to given value.
HasErrorMessage
func (o *JITTicketConnectionTestResponse) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
SetErrorMessageNil
func (o *JITTicketConnectionTestResponse) SetErrorMessageNil(b bool)
SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil
UnsetErrorMessage
func (o *JITTicketConnectionTestResponse) UnsetErrorMessage()
UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil