@Override public DateTime timestamp() { if (this.inner().properties() == null) { return null; } return this.inner().properties().timestamp(); }
@Override public Object parameters() { if (this.inner().properties() == null) { return null; } return this.inner().properties().parameters(); }
@Override public String correlationId() { if (this.inner().properties() == null) { return null; } return this.inner().properties().correlationId(); }
@Override public ParametersLink parametersLink() { if (this.inner().properties() == null) { return null; } return this.inner().properties().parametersLink(); }
@Override public Object outputs() { if (this.inner().properties() == null) { return null; } return this.inner().properties().outputs(); }
@Override public List<Dependency> dependencies() { if (this.inner().properties() == null) { return null; } return this.inner().properties().dependencies(); }
@Override public Object template() { if (this.inner().properties() == null) { return null; } return this.inner().properties().template(); }
@Override public TemplateLink templateLink() { if (this.inner().properties() == null) { return null; } return this.inner().properties().templateLink(); }
@Override public DeploymentMode mode() { if (this.inner().properties() == null) { return null; } return inner().properties().mode(); }
@Override public String provisioningState() { if (this.inner().properties() == null) { return null; } return this.inner().properties().provisioningState(); }
@Override public TemplateLink templateLink() { if (this.inner().properties() == null) { return null; } return this.inner().properties().templateLink(); }
@Override public List<Provider> providers() { if (this.inner().properties() == null) { return null; } List<Provider> providers = new ArrayList<>(); for (ProviderInner inner : this.inner().properties().providers()) { providers.add(new ProviderImpl(inner)); } return providers; }
@Override public DeploymentImpl withParameters(Object parameters) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withParameters(parameters); this.inner().properties().withParametersLink(null); return this; }
@Override public DeploymentImpl withTemplate(Object template) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplate(template); this.inner().properties().withTemplateLink(null); return this; }
@Override public DeploymentImpl withTemplate(Object template) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplate(template); this.inner().properties().withTemplateLink(null); return this; }
@Override public DeploymentImpl withMode(DeploymentMode mode) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withMode(mode); return this; }
@Override public DeploymentImpl withMode(DeploymentMode mode) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withMode(mode); return this; }
@Override public DeploymentImpl withParametersLink(String uri, String contentVersion) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withParametersLink(new ParametersLink().withUri(uri).withContentVersion(contentVersion)); this.inner().properties().withParameters(null); return this; }
@Override public DeploymentImpl withTemplateLink(String uri, String contentVersion) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withTemplateLink(new TemplateLink().withUri(uri).withContentVersion(contentVersion)); this.inner().properties().withTemplate(null); return this; }
@Override public DeploymentImpl withParametersLink(String uri, String contentVersion) { if (this.inner().properties() == null) { this.inner().withProperties(new DeploymentPropertiesExtended()); } this.inner().properties().withParametersLink(new ParametersLink().withUri(uri).withContentVersion(contentVersion)); this.inner().properties().withParameters(null); return this; }