Share via


CustomerDiskJobSecrets Class

public final class CustomerDiskJobSecrets
extends JobSecrets

The secrets related to customer disk job.

Constructor Summary

Constructor Description
CustomerDiskJobSecrets()

Creates an instance of CustomerDiskJobSecrets class.

Method Summary

Modifier and Type Method and Description
String carrierAccountNumber()

Get the carrierAccountNumber property: Carrier Account Number of the customer.

List<DiskSecret> diskSecrets()

Get the diskSecrets property: Contains the list of secrets object for that device.

static CustomerDiskJobSecrets fromJson(JsonReader jsonReader)

Reads an instance of CustomerDiskJobSecrets from the JsonReader.

ClassDiscriminator jobSecretsType()

Get the jobSecretsType property: Used to indicate what type of job secrets object.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from JobSecrets

Methods inherited from java.lang.Object

Constructor Details

CustomerDiskJobSecrets

public CustomerDiskJobSecrets()

Creates an instance of CustomerDiskJobSecrets class.

Method Details

carrierAccountNumber

public String carrierAccountNumber()

Get the carrierAccountNumber property: Carrier Account Number of the customer.

Returns:

the carrierAccountNumber value.

diskSecrets

public List<DiskSecret> diskSecrets()

Get the diskSecrets property: Contains the list of secrets object for that device.

Returns:

the diskSecrets value.

fromJson

public static CustomerDiskJobSecrets fromJson(JsonReader jsonReader)

Reads an instance of CustomerDiskJobSecrets from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomerDiskJobSecrets if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CustomerDiskJobSecrets.

jobSecretsType

public ClassDiscriminator jobSecretsType()

Get the jobSecretsType property: Used to indicate what type of job secrets object.

Overrides:

CustomerDiskJobSecrets.jobSecretsType()

Returns:

the jobSecretsType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CustomerDiskJobSecrets.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

CustomerDiskJobSecrets.validate()

Applies to