@Generated(value="org.jsonschema2pojo") public class InfoObject extends Object
Modifier and Type | Field and Description |
---|---|
protected static Object |
NOT_FOUND_VALUE |
Constructor and Description |
---|
InfoObject() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
declaredProperty(String name,
Object value) |
protected Object |
declaredPropertyOrNotFound(String name,
Object notFoundValue) |
<T> T |
get(String name) |
String |
getContact() |
String |
getDescription()
(Required)
|
String |
getLicense() |
URI |
getLicenseUrl() |
URI |
getTermsOfServiceUrl() |
String |
getTitle()
(Required)
|
void |
set(String name,
Object value) |
void |
setContact(String contact) |
void |
setDescription(String description)
(Required)
|
void |
setLicense(String license) |
void |
setLicenseUrl(URI licenseUrl) |
void |
setTermsOfServiceUrl(URI termsOfServiceUrl) |
void |
setTitle(String title)
(Required)
|
protected static final Object NOT_FOUND_VALUE
public String getTitle()
public void setTitle(String title)
title
- The titlepublic String getDescription()
public void setDescription(String description)
description
- The descriptionpublic URI getTermsOfServiceUrl()
public void setTermsOfServiceUrl(URI termsOfServiceUrl)
termsOfServiceUrl
- The termsOfServiceUrlpublic String getContact()
public void setContact(String contact)
contact
- The contactpublic String getLicense()
public void setLicense(String license)
license
- The licensepublic URI getLicenseUrl()
public void setLicenseUrl(URI licenseUrl)
licenseUrl
- The licenseUrlprotected Object declaredPropertyOrNotFound(String name, Object notFoundValue)
public <T> T get(String name)
Copyright © 2011–2016 Red Hat. All rights reserved.