/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.appservice.implementation;

import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;

/**
 * SSL certificate details.
 */
@JsonFlatten
public class CertificateDetailsInner extends Resource {
    /**
     * Version.
     */
    @JsonProperty(value = "properties.version", access = JsonProperty.Access.WRITE_ONLY)
    private Integer version;

    /**
     * Serial Number.
     */
    @JsonProperty(value = "properties.serialNumber", access = JsonProperty.Access.WRITE_ONLY)
    private String serialNumber;

    /**
     * Thumbprint.
     */
    @JsonProperty(value = "properties.thumbprint", access = JsonProperty.Access.WRITE_ONLY)
    private String thumbprint;

    /**
     * Subject.
     */
    @JsonProperty(value = "properties.subject", access = JsonProperty.Access.WRITE_ONLY)
    private String subject;

    /**
     * Valid from.
     */
    @JsonProperty(value = "properties.notBefore", access = JsonProperty.Access.WRITE_ONLY)
    private DateTime notBefore;

    /**
     * Valid to.
     */
    @JsonProperty(value = "properties.notAfter", access = JsonProperty.Access.WRITE_ONLY)
    private DateTime notAfter;

    /**
     * Signature algorithm.
     */
    @JsonProperty(value = "properties.signatureAlgorithm", access = JsonProperty.Access.WRITE_ONLY)
    private String signatureAlgorithm;

    /**
     * Issuer.
     */
    @JsonProperty(value = "properties.issuer", access = JsonProperty.Access.WRITE_ONLY)
    private String issuer;

    /**
     * Raw certificate data.
     */
    @JsonProperty(value = "properties.rawData", access = JsonProperty.Access.WRITE_ONLY)
    private String rawData;

    /**
     * Get the version value.
     *
     * @return the version value
     */
    public Integer version() {
        return this.version;
    }

    /**
     * Get the serialNumber value.
     *
     * @return the serialNumber value
     */
    public String serialNumber() {
        return this.serialNumber;
    }

    /**
     * Get the thumbprint value.
     *
     * @return the thumbprint value
     */
    public String thumbprint() {
        return this.thumbprint;
    }

    /**
     * Get the subject value.
     *
     * @return the subject value
     */
    public String subject() {
        return this.subject;
    }

    /**
     * Get the notBefore value.
     *
     * @return the notBefore value
     */
    public DateTime notBefore() {
        return this.notBefore;
    }

    /**
     * Get the notAfter value.
     *
     * @return the notAfter value
     */
    public DateTime notAfter() {
        return this.notAfter;
    }

    /**
     * Get the signatureAlgorithm value.
     *
     * @return the signatureAlgorithm value
     */
    public String signatureAlgorithm() {
        return this.signatureAlgorithm;
    }

    /**
     * Get the issuer value.
     *
     * @return the issuer value
     */
    public String issuer() {
        return this.issuer;
    }

    /**
     * Get the rawData value.
     *
     * @return the rawData value
     */
    public String rawData() {
        return this.rawData;
    }

}

@@ -629,27 +629,16 @@
 alue = %22
-properties.
 version%22
@@ -775,27 +775,16 @@
 alue = %22
-properties.
 serialNu
@@ -927,27 +927,16 @@
 alue = %22
-properties.
 thumbpri
@@ -1072,27 +1072,16 @@
 alue = %22
-properties.
 subject%22
@@ -1214,27 +1214,16 @@
 alue = %22
-properties.
 notBefor
@@ -1360,27 +1360,16 @@
 alue = %22
-properties.
 notAfter
@@ -1515,27 +1515,16 @@
 alue = %22
-properties.
 signatur
@@ -1675,27 +1675,16 @@
 alue = %22
-properties.
 issuer%22,
@@ -1829,19 +1829,8 @@
  = %22
-properties.
 rawD

Fix certificate details in app service