class Amazonite::Sns::CreatePlatformApplicationInput

Overview

Input for CreatePlatformApplication action.

Defined in:

sns/create_platform_application_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(name : String, platform : String, attributes : Hash(String, String)) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def attributes : Hash(String, String) #

For a list of attributes, see SetPlatformApplicationAttributes .


[View source]
def attributes=(attributes : Hash(String, String)) #

For a list of attributes, see SetPlatformApplicationAttributes .


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.


[View source]
def name=(name : String) #

Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.


[View source]
def platform : String #

The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).


[View source]
def platform=(platform : String) #

The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]