// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package operations

import (
	"net/http"
)

type GetIdentityMediaContainer struct {
	// Indicates whether this server has been claimed by a user
	Claimed *bool `json:"claimed,omitempty"`
	// A unique identifier of the computer
	MachineIdentifier *string `json:"machineIdentifier,omitempty"`
	Size              *int64  `json:"size,omitempty"`
	// The full version string of the PMS
	Version *string `json:"version,omitempty"`
}

func (g *GetIdentityMediaContainer) GetClaimed() *bool {
	if g == nil {
		return nil
	}
	return g.Claimed
}

func (g *GetIdentityMediaContainer) GetMachineIdentifier() *string {
	if g == nil {
		return nil
	}
	return g.MachineIdentifier
}

func (g *GetIdentityMediaContainer) GetSize() *int64 {
	if g == nil {
		return nil
	}
	return g.Size
}

func (g *GetIdentityMediaContainer) GetVersion() *string {
	if g == nil {
		return nil
	}
	return g.Version
}

// GetIdentityResponseBody - OK
type GetIdentityResponseBody struct {
	MediaContainer *GetIdentityMediaContainer `json:"MediaContainer,omitempty"`
}

func (g *GetIdentityResponseBody) GetMediaContainer() *GetIdentityMediaContainer {
	if g == nil {
		return nil
	}
	return g.MediaContainer
}

type GetIdentityResponse 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
	// OK
	Object *GetIdentityResponseBody
}

func (g *GetIdentityResponse) GetContentType() string {
	if g == nil {
		return ""
	}
	return g.ContentType
}

func (g *GetIdentityResponse) GetStatusCode() int {
	if g == nil {
		return 0
	}
	return g.StatusCode
}

func (g *GetIdentityResponse) GetRawResponse() *http.Response {
	if g == nil {
		return nil
	}
	return g.RawResponse
}

func (g *GetIdentityResponse) GetObject() *GetIdentityResponseBody {
	if g == nil {
		return nil
	}
	return g.Object
}
