// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.mobilenetwork.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.mobilenetwork.models.CommonSimPropertiesFormat;
import com.azure.resourcemanager.mobilenetwork.models.SimPolicyResourceId;
import com.azure.resourcemanager.mobilenetwork.models.SimStaticIpProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** SIM properties. */
@Fluent
public final class SimPropertiesFormat extends CommonSimPropertiesFormat {
    /*
     * The Ki value for the SIM.
     */
    @JsonProperty(value = "authenticationKey")
    private String authenticationKey;

    /*
     * The Opc value for the SIM.
     */
    @JsonProperty(value = "operatorKeyCode")
    private String operatorKeyCode;

    /** Creates an instance of SimPropertiesFormat class. */
    public SimPropertiesFormat() {
    }

    /**
     * Get the authenticationKey property: The Ki value for the SIM.
     *
     * @return the authenticationKey value.
     */
    public String authenticationKey() {
        return this.authenticationKey;
    }

    /**
     * Set the authenticationKey property: The Ki value for the SIM.
     *
     * @param authenticationKey the authenticationKey value to set.
     * @return the SimPropertiesFormat object itself.
     */
    public SimPropertiesFormat withAuthenticationKey(String authenticationKey) {
        this.authenticationKey = authenticationKey;
        return this;
    }

    /**
     * Get the operatorKeyCode property: The Opc value for the SIM.
     *
     * @return the operatorKeyCode value.
     */
    public String operatorKeyCode() {
        return this.operatorKeyCode;
    }

    /**
     * Set the operatorKeyCode property: The Opc value for the SIM.
     *
     * @param operatorKeyCode the operatorKeyCode value to set.
     * @return the SimPropertiesFormat object itself.
     */
    public SimPropertiesFormat withOperatorKeyCode(String operatorKeyCode) {
        this.operatorKeyCode = operatorKeyCode;
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SimPropertiesFormat withInternationalMobileSubscriberIdentity(String internationalMobileSubscriberIdentity) {
        super.withInternationalMobileSubscriberIdentity(internationalMobileSubscriberIdentity);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SimPropertiesFormat withIntegratedCircuitCardIdentifier(String integratedCircuitCardIdentifier) {
        super.withIntegratedCircuitCardIdentifier(integratedCircuitCardIdentifier);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SimPropertiesFormat withDeviceType(String deviceType) {
        super.withDeviceType(deviceType);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SimPropertiesFormat withSimPolicy(SimPolicyResourceId simPolicy) {
        super.withSimPolicy(simPolicy);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public SimPropertiesFormat withStaticIpConfiguration(List<SimStaticIpProperties> staticIpConfiguration) {
        super.withStaticIpConfiguration(staticIpConfiguration);
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    @Override
    public void validate() {
        super.validate();
    }
}
