Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.39 KB

FetchRequest.md

File metadata and controls

93 lines (50 loc) · 2.39 KB

FetchRequest

Properties

Name Type Description Notes
Method string
Url string
Headers map[string]string

Methods

NewFetchRequest

func NewFetchRequest(method string, url string, headers map[string]string, ) *FetchRequest

NewFetchRequest instantiates a new FetchRequest 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

NewFetchRequestWithDefaults

func NewFetchRequestWithDefaults() *FetchRequest

NewFetchRequestWithDefaults instantiates a new FetchRequest 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

GetMethod

func (o *FetchRequest) GetMethod() string

GetMethod returns the Method field if non-nil, zero value otherwise.

GetMethodOk

func (o *FetchRequest) GetMethodOk() (*string, bool)

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

SetMethod

func (o *FetchRequest) SetMethod(v string)

SetMethod sets Method field to given value.

GetUrl

func (o *FetchRequest) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *FetchRequest) GetUrlOk() (*string, bool)

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

SetUrl

func (o *FetchRequest) SetUrl(v string)

SetUrl sets Url field to given value.

GetHeaders

func (o *FetchRequest) GetHeaders() map[string]string

GetHeaders returns the Headers field if non-nil, zero value otherwise.

GetHeadersOk

func (o *FetchRequest) GetHeadersOk() (*map[string]string, bool)

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

SetHeaders

func (o *FetchRequest) SetHeaders(v map[string]string)

SetHeaders sets Headers field to given value.

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