mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
99 lines
1.9 KiB
Go
99 lines
1.9 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// GetHomeDataResponseBody - Home Data
|
|
type GetHomeDataResponseBody struct {
|
|
ID *float64 `json:"id,omitempty"`
|
|
Name *string `json:"name,omitempty"`
|
|
GuestUserID *float64 `json:"guestUserID,omitempty"`
|
|
GuestUserUUID *string `json:"guestUserUUID,omitempty"`
|
|
GuestEnabled *bool `json:"guestEnabled,omitempty"`
|
|
Subscription *bool `json:"subscription,omitempty"`
|
|
}
|
|
|
|
func (g *GetHomeDataResponseBody) GetID() *float64 {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.ID
|
|
}
|
|
|
|
func (g *GetHomeDataResponseBody) GetName() *string {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.Name
|
|
}
|
|
|
|
func (g *GetHomeDataResponseBody) GetGuestUserID() *float64 {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.GuestUserID
|
|
}
|
|
|
|
func (g *GetHomeDataResponseBody) GetGuestUserUUID() *string {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.GuestUserUUID
|
|
}
|
|
|
|
func (g *GetHomeDataResponseBody) GetGuestEnabled() *bool {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.GuestEnabled
|
|
}
|
|
|
|
func (g *GetHomeDataResponseBody) GetSubscription() *bool {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.Subscription
|
|
}
|
|
|
|
type GetHomeDataResponse struct {
|
|
// HTTP response content type for this operation
|
|
ContentType string
|
|
// HTTP response status code for this operation
|
|
StatusCode int
|
|
// Raw HTTP response; suitable for custom response parsing
|
|
RawResponse *http.Response
|
|
// Home Data
|
|
Object *GetHomeDataResponseBody
|
|
}
|
|
|
|
func (g *GetHomeDataResponse) GetContentType() string {
|
|
if g == nil {
|
|
return ""
|
|
}
|
|
return g.ContentType
|
|
}
|
|
|
|
func (g *GetHomeDataResponse) GetStatusCode() int {
|
|
if g == nil {
|
|
return 0
|
|
}
|
|
return g.StatusCode
|
|
}
|
|
|
|
func (g *GetHomeDataResponse) GetRawResponse() *http.Response {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.RawResponse
|
|
}
|
|
|
|
func (g *GetHomeDataResponse) GetObject() *GetHomeDataResponseBody {
|
|
if g == nil {
|
|
return nil
|
|
}
|
|
return g.Object
|
|
}
|