public class AccessPolicyInfo extends com.microsoft.windowsazure.services.media.implementation.ODataEntity<com.microsoft.windowsazure.services.media.implementation.content.AccessPolicyType>
| Constructor and Description |
|---|
AccessPolicyInfo(com.microsoft.windowsazure.services.media.implementation.atom.EntryType entry,
com.microsoft.windowsazure.services.media.implementation.content.AccessPolicyType content)
Creates a new
AccessPolicyInfo wrapping the given ATOM entry and
content objects. |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreated()
Get the creation date.
|
double |
getDurationInMinutes()
Get the duration.
|
String |
getId()
Get the access policy id.
|
Date |
getLastModified()
Get the last modified date.
|
String |
getName()
Get the name.
|
EnumSet<AccessPolicyPermission> |
getPermissions()
Get the permissions.
|
getCollectedType, getContent, getEntry, getLink, getRelationLink, hasLink, isODataEntityCollectionType, isODataEntityTypepublic AccessPolicyInfo(com.microsoft.windowsazure.services.media.implementation.atom.EntryType entry, com.microsoft.windowsazure.services.media.implementation.content.AccessPolicyType content)
AccessPolicyInfo wrapping the given ATOM entry and
content objects.entry - Entry containing this AccessPolicy datacontent - Content with the AccessPolicy datapublic String getId()
public Date getCreated()
public Date getLastModified()
public String getName()
public double getDurationInMinutes()
public EnumSet<AccessPolicyPermission> getPermissions()
/**
* Copyright Microsoft Corporation
*
* 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.
*/