Documentation
¶
Index ¶
- func CreateCreatePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type CreatePostRequestBody
- func (m *CreatePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *CreatePostRequestBody) GetCertificateSigningRequest() ...
- func (m *CreatePostRequestBody) GetConnectorId() *string
- func (m *CreatePostRequestBody) GetDisplayName() *string
- func (m *CreatePostRequestBody) GetFieldDeserializers() ...
- func (m *CreatePostRequestBody) GetHasPhysicalDevice() *bool
- func (m *CreatePostRequestBody) GetManufacturer() *string
- func (m *CreatePostRequestBody) GetModel() *string
- func (m *CreatePostRequestBody) GetPhysicalDeviceId() *string
- func (m *CreatePostRequestBody) Serialize(...) error
- func (m *CreatePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *CreatePostRequestBody) SetCertificateSigningRequest(...)
- func (m *CreatePostRequestBody) SetConnectorId(value *string)
- func (m *CreatePostRequestBody) SetDisplayName(value *string)
- func (m *CreatePostRequestBody) SetHasPhysicalDevice(value *bool)
- func (m *CreatePostRequestBody) SetManufacturer(value *string)
- func (m *CreatePostRequestBody) SetModel(value *string)
- func (m *CreatePostRequestBody) SetPhysicalDeviceId(value *string)
- type CreatePostRequestBodyable
- type CreateRequestBuilder
- type CreateRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCreatePostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateCreatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCreatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type CreatePostRequestBody ¶ added in v0.24.0
type CreatePostRequestBody struct {
// contains filtered or unexported fields
}
CreatePostRequestBody provides operations to call the create method.
func NewCreatePostRequestBody ¶ added in v0.24.0
func NewCreatePostRequestBody() *CreatePostRequestBody
NewCreatePostRequestBody instantiates a new createPostRequestBody and sets the default values.
func (*CreatePostRequestBody) GetAdditionalData ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetAdditionalData() map[string]interface{}
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.
func (*CreatePostRequestBody) GetCertificateSigningRequest ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetCertificateSigningRequest() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PrintCertificateSigningRequestable
GetCertificateSigningRequest gets the certificateSigningRequest property value. The certificateSigningRequest property
func (*CreatePostRequestBody) GetConnectorId ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetConnectorId() *string
GetConnectorId gets the connectorId property value. The connectorId property
func (*CreatePostRequestBody) GetDisplayName ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetDisplayName() *string
GetDisplayName gets the displayName property value. The displayName property
func (*CreatePostRequestBody) GetFieldDeserializers ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*CreatePostRequestBody) GetHasPhysicalDevice ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetHasPhysicalDevice() *bool
GetHasPhysicalDevice gets the hasPhysicalDevice property value. The hasPhysicalDevice property
func (*CreatePostRequestBody) GetManufacturer ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetManufacturer() *string
GetManufacturer gets the manufacturer property value. The manufacturer property
func (*CreatePostRequestBody) GetModel ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetModel() *string
GetModel gets the model property value. The model property
func (*CreatePostRequestBody) GetPhysicalDeviceId ¶ added in v0.24.0
func (m *CreatePostRequestBody) GetPhysicalDeviceId() *string
GetPhysicalDeviceId gets the physicalDeviceId property value. The physicalDeviceId property
func (*CreatePostRequestBody) Serialize ¶ added in v0.24.0
func (m *CreatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*CreatePostRequestBody) SetAdditionalData ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetAdditionalData(value map[string]interface{})
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 (*CreatePostRequestBody) SetCertificateSigningRequest ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetCertificateSigningRequest(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PrintCertificateSigningRequestable)
SetCertificateSigningRequest sets the certificateSigningRequest property value. The certificateSigningRequest property
func (*CreatePostRequestBody) SetConnectorId ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetConnectorId(value *string)
SetConnectorId sets the connectorId property value. The connectorId property
func (*CreatePostRequestBody) SetDisplayName ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetDisplayName(value *string)
SetDisplayName sets the displayName property value. The displayName property
func (*CreatePostRequestBody) SetHasPhysicalDevice ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetHasPhysicalDevice(value *bool)
SetHasPhysicalDevice sets the hasPhysicalDevice property value. The hasPhysicalDevice property
func (*CreatePostRequestBody) SetManufacturer ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetManufacturer(value *string)
SetManufacturer sets the manufacturer property value. The manufacturer property
func (*CreatePostRequestBody) SetModel ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetModel(value *string)
SetModel sets the model property value. The model property
func (*CreatePostRequestBody) SetPhysicalDeviceId ¶ added in v0.24.0
func (m *CreatePostRequestBody) SetPhysicalDeviceId(value *string)
SetPhysicalDeviceId sets the physicalDeviceId property value. The physicalDeviceId property
type CreatePostRequestBodyable ¶ added in v0.24.0
type CreatePostRequestBodyable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetCertificateSigningRequest() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PrintCertificateSigningRequestable
GetConnectorId() *string
GetDisplayName() *string
GetHasPhysicalDevice() *bool
GetManufacturer() *string
GetModel() *string
GetPhysicalDeviceId() *string
SetCertificateSigningRequest(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PrintCertificateSigningRequestable)
SetConnectorId(value *string)
SetDisplayName(value *string)
SetHasPhysicalDevice(value *bool)
SetManufacturer(value *string)
SetModel(value *string)
SetPhysicalDeviceId(value *string)
}
CreatePostRequestBodyable
type CreateRequestBuilder ¶
type CreateRequestBuilder struct {
// contains filtered or unexported fields
}
CreateRequestBuilder provides operations to call the create method.
func NewCreateRequestBuilder ¶
func NewCreateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateRequestBuilder
NewCreateRequestBuilder instantiates a new CreateRequestBuilder and sets the default values.
func NewCreateRequestBuilderInternal ¶
func NewCreateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *CreateRequestBuilder
NewCreateRequestBuilderInternal instantiates a new CreateRequestBuilder and sets the default values.
func (*CreateRequestBuilder) CreatePostRequestInformation ¶
func (m *CreateRequestBuilder) CreatePostRequestInformation(ctx context.Context, body CreatePostRequestBodyable, requestConfiguration *CreateRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample.
func (*CreateRequestBuilder) Post ¶
func (m *CreateRequestBuilder) Post(ctx context.Context, body CreatePostRequestBodyable, requestConfiguration *CreateRequestBuilderPostRequestConfiguration) error
Post create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample.
type CreateRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type CreateRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
CreateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.