public GetVMPasswordResponse(String responseName, String encryptedPassword) { setResponseName(responseName); setObjectName("password"); setEncryptedPassword(encryptedPassword); }
public QuotaTypeResponse(Integer quotaType, String description) { this.quotaType = quotaType; this.description = description; setObjectName(ApiConstants.USAGE_TYPE); }
public UsageTypeResponse(Integer usageType, String description) { this.usageType = usageType; this.description = description; setObjectName("usagetype"); }
@Override public void execute() { final ListResponse<QuotaEmailTemplateResponse> response = new ListResponse<QuotaEmailTemplateResponse>(); response.setResponses(_quotaResponseBuilder.listQuotaEmailTemplates(this)); response.setResponseName(getCommandName()); setResponseObject(response); }
private ListResponse<AnnotationResponse> createAnnotationsResponseList(List<AnnotationResponse> annotationResponses) { ListResponse<AnnotationResponse> listResponse = new ListResponse<>(); listResponse.setResponses(annotationResponses); return listResponse; }
@Test public void testSetDetailsNull() { final HostResponse hostResponse = new HostResponse(); hostResponse.setDetails(null); assertEquals(null, hostResponse.getDetails()); }
private OutOfBandManagementResponse buildEnableDisableResponse(final boolean enabled) { final OutOfBandManagementResponse response = new OutOfBandManagementResponse(); response.setEnabled(enabled); response.setSuccess(true); return response; }
@Override public String getObjectId() { return this.getId(); }
public GetUploadParamsResponse createGetUploadParamsResponse(UUID id, URL postURL, String metadata, String timeout, String signature) { return new GetUploadParamsResponse(id, postURL, metadata, timeout, signature); } }
public LBHealthCheckResponse(HealthCheckPolicy healthcheckpolicy) { setObjectName("healthcheckpolicy"); } }
public GetUploadParamsResponse(UUID id, URL postURL, String metadata, String expires, String signature) { this.id = id; this.postURL = postURL; this.metadata = metadata; this.expires = expires; this.signature = signature; setObjectName("getuploadparams"); }
@Override public String getObjectId() { return getId(); }
public QuotaEmailTemplateResponse() { super(); this.setObjectName("quotaemailtemplate"); }
public SamlUserAccountResponse() { super(); setObjectName("samluseraccount"); }
@Override public String getObjectId() { return this.getId(); }
public LdapConfigurationResponse(final String hostname, final int port) { this(hostname); setPort(port); }
public LdapConfigurationResponse(final String hostname, final int port, final String domainId) { this(hostname, port); setDomainId(domainId); }
@Override public String getObjectId() { return this.getId(); }
@Override public String getObjectId() { return this.getId(); }
@Override public String getObjectId() { return this.getId(); }