All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.generated.models.AppleManagedIdentityProvider Maven / Gradle / Ivy

There is a newer version: 6.20.0
Show newest version
package com.microsoft.graph.models;

import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class AppleManagedIdentityProvider extends IdentityProviderBase implements Parsable {
    /**
     * Instantiates a new {@link AppleManagedIdentityProvider} and sets the default values.
     */
    public AppleManagedIdentityProvider() {
        super();
        this.setOdataType("#microsoft.graph.appleManagedIdentityProvider");
    }
    /**
     * Creates a new instance of the appropriate class based on discriminator value
     * @param parseNode The parse node to use to read the discriminator value and create the object
     * @return a {@link AppleManagedIdentityProvider}
     */
    @jakarta.annotation.Nonnull
    public static AppleManagedIdentityProvider createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new AppleManagedIdentityProvider();
    }
    /**
     * Gets the certificateData property value. The certificate data, which is a long string of text from the certificate. Can be null.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getCertificateData() {
        return this.backingStore.get("certificateData");
    }
    /**
     * Gets the developerId property value. The Apple developer identifier. Required.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getDeveloperId() {
        return this.backingStore.get("developerId");
    }
    /**
     * The deserialization information for the current model
     * @return a {@link Map>}
     */
    @jakarta.annotation.Nonnull
    public Map> getFieldDeserializers() {
        final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
        deserializerMap.put("certificateData", (n) -> { this.setCertificateData(n.getStringValue()); });
        deserializerMap.put("developerId", (n) -> { this.setDeveloperId(n.getStringValue()); });
        deserializerMap.put("keyId", (n) -> { this.setKeyId(n.getStringValue()); });
        deserializerMap.put("serviceId", (n) -> { this.setServiceId(n.getStringValue()); });
        return deserializerMap;
    }
    /**
     * Gets the keyId property value. The Apple key identifier. Required.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getKeyId() {
        return this.backingStore.get("keyId");
    }
    /**
     * Gets the serviceId property value. The Apple service identifier. Required.
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getServiceId() {
        return this.backingStore.get("serviceId");
    }
    /**
     * Serializes information the current object
     * @param writer Serialization writer to use to serialize this model
     */
    public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
        Objects.requireNonNull(writer);
        super.serialize(writer);
        writer.writeStringValue("certificateData", this.getCertificateData());
        writer.writeStringValue("developerId", this.getDeveloperId());
        writer.writeStringValue("keyId", this.getKeyId());
        writer.writeStringValue("serviceId", this.getServiceId());
    }
    /**
     * Sets the certificateData property value. The certificate data, which is a long string of text from the certificate. Can be null.
     * @param value Value to set for the certificateData property.
     */
    public void setCertificateData(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("certificateData", value);
    }
    /**
     * Sets the developerId property value. The Apple developer identifier. Required.
     * @param value Value to set for the developerId property.
     */
    public void setDeveloperId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("developerId", value);
    }
    /**
     * Sets the keyId property value. The Apple key identifier. Required.
     * @param value Value to set for the keyId property.
     */
    public void setKeyId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("keyId", value);
    }
    /**
     * Sets the serviceId property value. The Apple service identifier. Required.
     * @param value Value to set for the serviceId property.
     */
    public void setServiceId(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("serviceId", value);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy