Documentation
¶
Index ¶
- func CreateOEmbedGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type OEmbedGetResponse
- func (m *OEmbedGetResponse) GetAdditionalData() map[string]any
- func (m *OEmbedGetResponse) GetFieldDeserializers() ...
- func (m *OEmbedGetResponse) GetHeight() *int32
- func (m *OEmbedGetResponse) GetHtml() *string
- func (m *OEmbedGetResponse) GetProviderName() *string
- func (m *OEmbedGetResponse) GetProviderUrl() *string
- func (m *OEmbedGetResponse) GetThumbnailUrl() *string
- func (m *OEmbedGetResponse) GetTitle() *string
- func (m *OEmbedGetResponse) GetTypeEscaped() *string
- func (m *OEmbedGetResponse) GetVersion() *string
- func (m *OEmbedGetResponse) GetWidth() *int32
- func (m *OEmbedGetResponse) Serialize(...) error
- func (m *OEmbedGetResponse) SetAdditionalData(value map[string]any)
- func (m *OEmbedGetResponse) SetHeight(value *int32)
- func (m *OEmbedGetResponse) SetHtml(value *string)
- func (m *OEmbedGetResponse) SetProviderName(value *string)
- func (m *OEmbedGetResponse) SetProviderUrl(value *string)
- func (m *OEmbedGetResponse) SetThumbnailUrl(value *string)
- func (m *OEmbedGetResponse) SetTitle(value *string)
- func (m *OEmbedGetResponse) SetTypeEscaped(value *string)
- func (m *OEmbedGetResponse) SetVersion(value *string)
- func (m *OEmbedGetResponse) SetWidth(value *int32)
- type OEmbedGetResponseable
- type OEmbedRequestBuilder
- type OEmbedRequestBuilderGetQueryParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOEmbedGetResponseFromDiscriminatorValue ¶
func CreateOEmbedGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateOEmbedGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type OEmbedGetResponse ¶
type OEmbedGetResponse struct {
// contains filtered or unexported fields
}
func NewOEmbedGetResponse ¶
func NewOEmbedGetResponse() *OEmbedGetResponse
NewOEmbedGetResponse instantiates a new OEmbedGetResponse and sets the default values.
func (*OEmbedGetResponse) GetAdditionalData ¶
func (m *OEmbedGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*OEmbedGetResponse) GetFieldDeserializers ¶
func (m *OEmbedGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*OEmbedGetResponse) GetHeight ¶
func (m *OEmbedGetResponse) GetHeight() *int32
GetHeight gets the height property value. The height property returns a *int32 when successful
func (*OEmbedGetResponse) GetHtml ¶
func (m *OEmbedGetResponse) GetHtml() *string
GetHtml gets the html property value. The html property returns a *string when successful
func (*OEmbedGetResponse) GetProviderName ¶
func (m *OEmbedGetResponse) GetProviderName() *string
GetProviderName gets the providerName property value. The providerName property returns a *string when successful
func (*OEmbedGetResponse) GetProviderUrl ¶
func (m *OEmbedGetResponse) GetProviderUrl() *string
GetProviderUrl gets the providerUrl property value. The providerUrl property returns a *string when successful
func (*OEmbedGetResponse) GetThumbnailUrl ¶
func (m *OEmbedGetResponse) GetThumbnailUrl() *string
GetThumbnailUrl gets the thumbnailUrl property value. The thumbnailUrl property returns a *string when successful
func (*OEmbedGetResponse) GetTitle ¶
func (m *OEmbedGetResponse) GetTitle() *string
GetTitle gets the title property value. The title property returns a *string when successful
func (*OEmbedGetResponse) GetTypeEscaped ¶
func (m *OEmbedGetResponse) GetTypeEscaped() *string
GetTypeEscaped gets the type property value. The type property returns a *string when successful
func (*OEmbedGetResponse) GetVersion ¶
func (m *OEmbedGetResponse) GetVersion() *string
GetVersion gets the version property value. The version property returns a *string when successful
func (*OEmbedGetResponse) GetWidth ¶
func (m *OEmbedGetResponse) GetWidth() *int32
GetWidth gets the width property value. The width property returns a *int32 when successful
func (*OEmbedGetResponse) Serialize ¶
func (m *OEmbedGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*OEmbedGetResponse) SetAdditionalData ¶
func (m *OEmbedGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*OEmbedGetResponse) SetHeight ¶
func (m *OEmbedGetResponse) SetHeight(value *int32)
SetHeight sets the height property value. The height property
func (*OEmbedGetResponse) SetHtml ¶
func (m *OEmbedGetResponse) SetHtml(value *string)
SetHtml sets the html property value. The html property
func (*OEmbedGetResponse) SetProviderName ¶
func (m *OEmbedGetResponse) SetProviderName(value *string)
SetProviderName sets the providerName property value. The providerName property
func (*OEmbedGetResponse) SetProviderUrl ¶
func (m *OEmbedGetResponse) SetProviderUrl(value *string)
SetProviderUrl sets the providerUrl property value. The providerUrl property
func (*OEmbedGetResponse) SetThumbnailUrl ¶
func (m *OEmbedGetResponse) SetThumbnailUrl(value *string)
SetThumbnailUrl sets the thumbnailUrl property value. The thumbnailUrl property
func (*OEmbedGetResponse) SetTitle ¶
func (m *OEmbedGetResponse) SetTitle(value *string)
SetTitle sets the title property value. The title property
func (*OEmbedGetResponse) SetTypeEscaped ¶
func (m *OEmbedGetResponse) SetTypeEscaped(value *string)
SetTypeEscaped sets the type property value. The type property
func (*OEmbedGetResponse) SetVersion ¶
func (m *OEmbedGetResponse) SetVersion(value *string)
SetVersion sets the version property value. The version property
func (*OEmbedGetResponse) SetWidth ¶
func (m *OEmbedGetResponse) SetWidth(value *int32)
SetWidth sets the width property value. The width property
type OEmbedGetResponseable ¶
type OEmbedGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetHeight() *int32 GetHtml() *string GetProviderName() *string GetProviderUrl() *string GetThumbnailUrl() *string GetTitle() *string GetTypeEscaped() *string GetVersion() *string GetWidth() *int32 SetHeight(value *int32) SetHtml(value *string) SetProviderName(value *string) SetProviderUrl(value *string) SetThumbnailUrl(value *string) SetTitle(value *string) SetTypeEscaped(value *string) SetVersion(value *string) SetWidth(value *int32) }
type OEmbedRequestBuilder ¶
type OEmbedRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
OEmbedRequestBuilder builds and executes requests for operations under \OEmbed
func NewOEmbedRequestBuilder ¶
func NewOEmbedRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OEmbedRequestBuilder
NewOEmbedRequestBuilder instantiates a new OEmbedRequestBuilder and sets the default values.
func NewOEmbedRequestBuilderInternal ¶
func NewOEmbedRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OEmbedRequestBuilder
NewOEmbedRequestBuilderInternal instantiates a new OEmbedRequestBuilder and sets the default values.
func (*OEmbedRequestBuilder) Get ¶
func (m *OEmbedRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[OEmbedRequestBuilderGetQueryParameters]) (OEmbedGetResponseable, error)
Get [OEmbed API Docs](https://docs.bunny.net/reference/oembed_getoembed) returns a OEmbedGetResponseable when successful
func (*OEmbedRequestBuilder) ToGetRequestInformation ¶
func (m *OEmbedRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[OEmbedRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation [OEmbed API Docs](https://docs.bunny.net/reference/oembed_getoembed) returns a *RequestInformation when successful
func (*OEmbedRequestBuilder) WithUrl ¶
func (m *OEmbedRequestBuilder) WithUrl(rawUrl string) *OEmbedRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *OEmbedRequestBuilder when successful
type OEmbedRequestBuilderGetQueryParameters ¶
type OEmbedRequestBuilderGetQueryParameters struct { Expires *int64 `uriparametername:"expires"` MaxHeight *int32 `uriparametername:"maxHeight"` MaxWidth *int32 `uriparametername:"maxWidth"` Token *string `uriparametername:"token"` Url *string `uriparametername:"url"` }
OEmbedRequestBuilderGetQueryParameters [OEmbed API Docs](https://docs.bunny.net/reference/oembed_getoembed)