Name | Type | Description | Notes |
---|---|---|---|
Method | string | ||
Url | string | ||
Headers | map[string]string |
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
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
func (o *FetchRequest) GetMethod() string
GetMethod returns the Method field if non-nil, zero value otherwise.
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.
func (o *FetchRequest) SetMethod(v string)
SetMethod sets Method field to given value.
func (o *FetchRequest) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
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.
func (o *FetchRequest) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *FetchRequest) GetHeaders() map[string]string
GetHeaders returns the Headers field if non-nil, zero value otherwise.
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.
func (o *FetchRequest) SetHeaders(v map[string]string)
SetHeaders sets Headers field to given value.