Name | Type | Description | Notes |
---|---|---|---|
Components | Pointer to NullableComponents | [optional] | |
ExternalDocs | Pointer to NullableExternalDocs | [optional] | |
Info | Pointer to NullableInfoType2 | [optional] | |
Openapi | Pointer to string | [optional] | |
Paths | Pointer to map[string]PathItem | [optional] | |
Security | Pointer to []map[string][]string | [optional] | |
Servers | Pointer to []ServerType2 | [optional] | |
Tags | Pointer to []Tag | [optional] |
func NewOAS() *OAS
NewOAS instantiates a new OAS 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 NewOASWithDefaults() *OAS
NewOASWithDefaults instantiates a new OAS 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 *OAS) GetComponents() Components
GetComponents returns the Components field if non-nil, zero value otherwise.
func (o *OAS) GetComponentsOk() (*Components, bool)
GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetComponents(v Components)
SetComponents sets Components field to given value.
func (o *OAS) HasComponents() bool
HasComponents returns a boolean if a field has been set.
func (o *OAS) SetComponentsNil(b bool)
SetComponentsNil sets the value for Components to be an explicit nil
func (o *OAS) UnsetComponents()
UnsetComponents ensures that no value is present for Components, not even an explicit nil
func (o *OAS) GetExternalDocs() ExternalDocs
GetExternalDocs returns the ExternalDocs field if non-nil, zero value otherwise.
func (o *OAS) GetExternalDocsOk() (*ExternalDocs, bool)
GetExternalDocsOk returns a tuple with the ExternalDocs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetExternalDocs(v ExternalDocs)
SetExternalDocs sets ExternalDocs field to given value.
func (o *OAS) HasExternalDocs() bool
HasExternalDocs returns a boolean if a field has been set.
func (o *OAS) SetExternalDocsNil(b bool)
SetExternalDocsNil sets the value for ExternalDocs to be an explicit nil
func (o *OAS) UnsetExternalDocs()
UnsetExternalDocs ensures that no value is present for ExternalDocs, not even an explicit nil
func (o *OAS) GetInfo() InfoType2
GetInfo returns the Info field if non-nil, zero value otherwise.
func (o *OAS) GetInfoOk() (*InfoType2, bool)
GetInfoOk returns a tuple with the Info field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetInfo(v InfoType2)
SetInfo sets Info field to given value.
func (o *OAS) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (o *OAS) SetInfoNil(b bool)
SetInfoNil sets the value for Info to be an explicit nil
func (o *OAS) UnsetInfo()
UnsetInfo ensures that no value is present for Info, not even an explicit nil
func (o *OAS) GetOpenapi() string
GetOpenapi returns the Openapi field if non-nil, zero value otherwise.
func (o *OAS) GetOpenapiOk() (*string, bool)
GetOpenapiOk returns a tuple with the Openapi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetOpenapi(v string)
SetOpenapi sets Openapi field to given value.
func (o *OAS) HasOpenapi() bool
HasOpenapi returns a boolean if a field has been set.
func (o *OAS) GetPaths() map[string]PathItem
GetPaths returns the Paths field if non-nil, zero value otherwise.
func (o *OAS) GetPathsOk() (*map[string]PathItem, bool)
GetPathsOk returns a tuple with the Paths field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetPaths(v map[string]PathItem)
SetPaths sets Paths field to given value.
func (o *OAS) HasPaths() bool
HasPaths returns a boolean if a field has been set.
func (o *OAS) GetSecurity() []map[string][]string
GetSecurity returns the Security field if non-nil, zero value otherwise.
func (o *OAS) GetSecurityOk() (*[]map[string][]string, bool)
GetSecurityOk returns a tuple with the Security field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetSecurity(v []map[string][]string)
SetSecurity sets Security field to given value.
func (o *OAS) HasSecurity() bool
HasSecurity returns a boolean if a field has been set.
func (o *OAS) SetSecurityNil(b bool)
SetSecurityNil sets the value for Security to be an explicit nil
func (o *OAS) UnsetSecurity()
UnsetSecurity ensures that no value is present for Security, not even an explicit nil
func (o *OAS) GetServers() []ServerType2
GetServers returns the Servers field if non-nil, zero value otherwise.
func (o *OAS) GetServersOk() (*[]ServerType2, bool)
GetServersOk returns a tuple with the Servers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetServers(v []ServerType2)
SetServers sets Servers field to given value.
func (o *OAS) HasServers() bool
HasServers returns a boolean if a field has been set.
func (o *OAS) SetServersNil(b bool)
SetServersNil sets the value for Servers to be an explicit nil
func (o *OAS) UnsetServers()
UnsetServers ensures that no value is present for Servers, not even an explicit nil
func (o *OAS) GetTags() []Tag
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *OAS) GetTagsOk() (*[]Tag, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OAS) SetTags(v []Tag)
SetTags sets Tags field to given value.
func (o *OAS) HasTags() bool
HasTags returns a boolean if a field has been set.