Class CreatePostRequestBody
java.lang.Object
com.microsoft.graph.print.printers.create.CreatePostRequestBody
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CreatePostRequestBody
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CreatePostRequestBodycreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the certificateSigningRequest property value.Gets the connectorId property value.Gets the displayName property value.The deserialization information for the current modelGets the hasPhysicalDevice property value.Gets the manufacturer property value.getModel()Gets the model property value.Gets the physicalDeviceId property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidSets the certificateSigningRequest property value.voidsetConnectorId(String value) Sets the connectorId property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetHasPhysicalDevice(Boolean value) Sets the hasPhysicalDevice property value.voidsetManufacturer(String value) Sets the manufacturer property value.voidSets the model property value.voidsetPhysicalDeviceId(String value) Sets the physicalDeviceId property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
CreatePostRequestBody
public CreatePostRequestBody()Instantiates a newCreatePostRequestBodyand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CreatePostRequestBody createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
CreatePostRequestBody
-
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. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCertificateSigningRequest
Gets the certificateSigningRequest property value. The certificateSigningRequest property- Returns:
- a
PrintCertificateSigningRequest
-
getConnectorId
Gets the connectorId property value. The connectorId property- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The displayName property- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getHasPhysicalDevice
Gets the hasPhysicalDevice property value. The hasPhysicalDevice property- Returns:
- a
Boolean
-
getManufacturer
Gets the manufacturer property value. The manufacturer property- Returns:
- a
String
-
getModel
Gets the model property value. The model property- Returns:
- a
String
-
getPhysicalDeviceId
Gets the physicalDeviceId property value. The physicalDeviceId property- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
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.- Parameters:
value- Value to set for the AdditionalData property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCertificateSigningRequest
Sets the certificateSigningRequest property value. The certificateSigningRequest property- Parameters:
value- Value to set for the certificateSigningRequest property.
-
setConnectorId
Sets the connectorId property value. The connectorId property- Parameters:
value- Value to set for the connectorId property.
-
setDisplayName
Sets the displayName property value. The displayName property- Parameters:
value- Value to set for the displayName property.
-
setHasPhysicalDevice
Sets the hasPhysicalDevice property value. The hasPhysicalDevice property- Parameters:
value- Value to set for the hasPhysicalDevice property.
-
setManufacturer
Sets the manufacturer property value. The manufacturer property- Parameters:
value- Value to set for the manufacturer property.
-
setModel
Sets the model property value. The model property- Parameters:
value- Value to set for the model property.
-
setPhysicalDeviceId
Sets the physicalDeviceId property value. The physicalDeviceId property- Parameters:
value- Value to set for the physicalDeviceId property.
-