Package com.microsoft.windowsazure.management.mediaservices.models

Examples of com.microsoft.windowsazure.management.mediaservices.models.MediaServicesCreatedAccount


            if (responseContent == null == false) {
                responseDoc = objectMapper.readTree(responseContent);
            }
           
            if (responseDoc != null) {
                MediaServicesCreatedAccount accountInstance = new MediaServicesCreatedAccount();
                result.setAccount(accountInstance);
               
                JsonNode accountIdValue = responseDoc.get("AccountId");
                if (accountIdValue != null) {
                    String accountIdInstance;
                    accountIdInstance = accountIdValue.getTextValue();
                    accountInstance.setAccountId(accountIdInstance);
                }
               
                JsonNode accountNameValue = responseDoc.get("AccountName");
                if (accountNameValue != null) {
                    String accountNameInstance;
                    accountNameInstance = accountNameValue.getTextValue();
                    accountInstance.setAccountName(accountNameInstance);
                }
               
                JsonNode subscriptionValue = responseDoc.get("Subscription");
                if (subscriptionValue != null) {
                    String subscriptionInstance;
                    subscriptionInstance = subscriptionValue.getTextValue();
                    accountInstance.setSubscriptionId(subscriptionInstance);
                }
            }
           
            result.setStatusCode(statusCode);
            if (httpResponse.getHeaders("x-ms-request-id").length > 0) {
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.management.mediaservices.models.MediaServicesCreatedAccount

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.