Files
sdk/docs/GraphQLError.md

2.1 KiB

GraphQLError

Properties

Name Type Description Notes
Message Pointer to string [optional]
Path Pointer to []interface{} [optional]

Methods

NewGraphQLError

func NewGraphQLError() *GraphQLError

NewGraphQLError instantiates a new GraphQLError 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

NewGraphQLErrorWithDefaults

func NewGraphQLErrorWithDefaults() *GraphQLError

NewGraphQLErrorWithDefaults instantiates a new GraphQLError 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

GetMessage

func (o *GraphQLError) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *GraphQLError) GetMessageOk() (*string, bool)

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

SetMessage

func (o *GraphQLError) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *GraphQLError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetPath

func (o *GraphQLError) GetPath() []interface{}

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

func (o *GraphQLError) GetPathOk() (*[]interface{}, bool)

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

SetPath

func (o *GraphQLError) SetPath(v []interface{})

SetPath sets Path field to given value.

HasPath

func (o *GraphQLError) HasPath() bool

HasPath returns a boolean if a field has been set.

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