com.google.api.services.cloudresourcemanager.model.Organization Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://code.google.com/p/google-apis-client-generator/
* (build: 2016-02-18 22:11:37 UTC)
* on 2016-03-01 at 00:24:11 UTC
* Modify at your own risk.
*/
package com.google.api.services.cloudresourcemanager.model;
/**
* The root node in the resource hierarchy to which a particular entity's (e.g., company) resources
* belong.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Resource Manager API. For a detailed
* explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Organization extends com.google.api.client.json.GenericJson {
/**
* Timestamp when the Organization was created. Assigned by the server. @OutputOnly
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String creationTime;
/**
* A friendly string to be used to refer to the Organization in the UI. This field is required.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;
/**
* An immutable id for the Organization that is assigned on creation. This should be omitted when
* creating a new Organization. This field is read-only.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String organizationId;
/**
* The owner of this Organization. The owner should be specified on creation. Once set, it cannot
* be changed. This field is required.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OrganizationOwner owner;
/**
* Timestamp when the Organization was created. Assigned by the server. @OutputOnly
* @return value or {@code null} for none
*/
public java.lang.String getCreationTime() {
return creationTime;
}
/**
* Timestamp when the Organization was created. Assigned by the server. @OutputOnly
* @param creationTime creationTime or {@code null} for none
*/
public Organization setCreationTime(java.lang.String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* A friendly string to be used to refer to the Organization in the UI. This field is required.
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}
/**
* A friendly string to be used to refer to the Organization in the UI. This field is required.
* @param displayName displayName or {@code null} for none
*/
public Organization setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}
/**
* An immutable id for the Organization that is assigned on creation. This should be omitted when
* creating a new Organization. This field is read-only.
* @return value or {@code null} for none
*/
public java.lang.String getOrganizationId() {
return organizationId;
}
/**
* An immutable id for the Organization that is assigned on creation. This should be omitted when
* creating a new Organization. This field is read-only.
* @param organizationId organizationId or {@code null} for none
*/
public Organization setOrganizationId(java.lang.String organizationId) {
this.organizationId = organizationId;
return this;
}
/**
* The owner of this Organization. The owner should be specified on creation. Once set, it cannot
* be changed. This field is required.
* @return value or {@code null} for none
*/
public OrganizationOwner getOwner() {
return owner;
}
/**
* The owner of this Organization. The owner should be specified on creation. Once set, it cannot
* be changed. This field is required.
* @param owner owner or {@code null} for none
*/
public Organization setOwner(OrganizationOwner owner) {
this.owner = owner;
return this;
}
@Override
public Organization set(String fieldName, Object value) {
return (Organization) super.set(fieldName, value);
}
@Override
public Organization clone() {
return (Organization) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy