Share via


OrganizationProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.OrganizationProfile

Implements

public class OrganizationProfile
implements JsonSerializable<OrganizationProfile>

Defines the organization in which the pool will be used.

Constructor Summary

Constructor Description
OrganizationProfile()

Creates an instance of OrganizationProfile class.

Method Summary

Modifier and Type Method and Description
static OrganizationProfile fromJson(JsonReader jsonReader)

Reads an instance of OrganizationProfile from the JsonReader.

String kind()

Get the kind property: Discriminator property for OrganizationProfile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OrganizationProfile

public OrganizationProfile()

Creates an instance of OrganizationProfile class.

Method Details

fromJson

public static OrganizationProfile fromJson(JsonReader jsonReader)

Reads an instance of OrganizationProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OrganizationProfile 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 OrganizationProfile.

kind

public String kind()

Get the kind property: Discriminator property for OrganizationProfile.

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to