This app provide searching, statistics and visualization for activities from runkeeper.com.
To run this app on your own server you need an api-key from runkeeper.
After this friends or everybody can login in this app to get statistics.


Interface IWebhookControllerApiSync
Represents a collection of functions to interact with the API endpoints
Inherited Members
Namespace: mailslurp.Api
Assembly: mailslurp.dll
Syntax
public interface IWebhookControllerApiSync : IApiAccessor
Methods
View SourceCreateAccountWebhook(CreateWebhookOptions, int)
Attach a WebHook URL to an inbox
Declaration
WebhookDto CreateAccountWebhook(CreateWebhookOptions createWebhookOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateWebhookOptions | createWebhookOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookDto | WebhookDto |
Remarks
Get notified of account level events such as bounce and bounce recipient.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateAccountWebhookWithHttpInfo(CreateWebhookOptions, int)
Attach a WebHook URL to an inbox
Declaration
ApiResponse<WebhookDto> CreateAccountWebhookWithHttpInfo(CreateWebhookOptions createWebhookOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateWebhookOptions | createWebhookOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookDto> | ApiResponse of WebhookDto |
Remarks
Get notified of account level events such as bounce and bounce recipient.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateWebhook(Guid, CreateWebhookOptions, int)
Attach a WebHook URL to an inbox
Declaration
WebhookDto CreateWebhook(Guid inboxId, CreateWebhookOptions createWebhookOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| CreateWebhookOptions | createWebhookOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookDto | WebhookDto |
Remarks
Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateWebhookForPhoneNumber(Guid, CreateWebhookOptions, int)
Attach a WebHook URL to a phone number
Declaration
WebhookDto CreateWebhookForPhoneNumber(Guid phoneNumberId, CreateWebhookOptions createWebhookOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| CreateWebhookOptions | createWebhookOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookDto | WebhookDto |
Remarks
Get notified whenever a phone number receives an SMS via a WebHook URL.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateWebhookForPhoneNumberWithHttpInfo(Guid, CreateWebhookOptions, int)
Attach a WebHook URL to a phone number
Declaration
ApiResponse<WebhookDto> CreateWebhookForPhoneNumberWithHttpInfo(Guid phoneNumberId, CreateWebhookOptions createWebhookOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| CreateWebhookOptions | createWebhookOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookDto> | ApiResponse of WebhookDto |
Remarks
Get notified whenever a phone number receives an SMS via a WebHook URL.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateWebhookWithHttpInfo(Guid, CreateWebhookOptions, int)
Attach a WebHook URL to an inbox
Declaration
ApiResponse<WebhookDto> CreateWebhookWithHttpInfo(Guid inboxId, CreateWebhookOptions createWebhookOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| CreateWebhookOptions | createWebhookOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookDto> | ApiResponse of WebhookDto |
Remarks
Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteAllWebhooks(DateTime?, int)
Delete all webhooks
Declaration
void DeleteAllWebhooks(DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime? | before | before (optional) |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteAllWebhooksWithHttpInfo(DateTime?, int)
Delete all webhooks
Declaration
ApiResponse<object> DeleteAllWebhooksWithHttpInfo(DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime? | before | before (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteWebhook(Guid, Guid, int)
Delete and disable a Webhook for an Inbox
Declaration
void DeleteWebhook(Guid inboxId, Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteWebhookById(Guid, int)
Delete a webhook
Declaration
void DeleteWebhookById(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteWebhookByIdWithHttpInfo(Guid, int)
Delete a webhook
Declaration
ApiResponse<object> DeleteWebhookByIdWithHttpInfo(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteWebhookWithHttpInfo(Guid, Guid, int)
Delete and disable a Webhook for an Inbox
Declaration
ApiResponse<object> DeleteWebhookWithHttpInfo(Guid inboxId, Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllAccountWebhooks(int?, int?, string, string, DateTime?, DateTime?, int)
List account webhooks Paginated
Declaration
PageWebhookProjection GetAllAccountWebhooks(int? page = null, int? size = null, string sort = null, string eventType = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size for paginated result list. (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| string | eventType | Optional event type (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageWebhookProjection | PageWebhookProjection |
Remarks
List account webhooks in paginated form. Allows for page index, page size, and sort direction.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllAccountWebhooksWithHttpInfo(int?, int?, string, string, DateTime?, DateTime?, int)
List account webhooks Paginated
Declaration
ApiResponse<PageWebhookProjection> GetAllAccountWebhooksWithHttpInfo(int? page = null, int? size = null, string sort = null, string eventType = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size for paginated result list. (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| string | eventType | Optional event type (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageWebhookProjection> | ApiResponse of PageWebhookProjection |
Remarks
List account webhooks in paginated form. Allows for page index, page size, and sort direction.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllWebhookResults(int?, int?, string, string, DateTime?, DateTime?, bool?, int)
Get results for all webhooks
Declaration
PageWebhookResult GetAllWebhookResults(int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, DateTime? before = null, bool? unseenOnly = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| bool? | unseenOnly | Filter for unseen exceptions only (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageWebhookResult | PageWebhookResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllWebhookResultsWithHttpInfo(int?, int?, string, string, DateTime?, DateTime?, bool?, int)
Get results for all webhooks
Declaration
ApiResponse<PageWebhookResult> GetAllWebhookResultsWithHttpInfo(int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, DateTime? before = null, bool? unseenOnly = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| bool? | unseenOnly | Filter for unseen exceptions only (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageWebhookResult> | ApiResponse of PageWebhookResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllWebhooks(int?, int?, string, string, DateTime?, Guid?, Guid?, DateTime?, int)
List Webhooks Paginated
Declaration
PageWebhookProjection GetAllWebhooks(int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, Guid? inboxId = null, Guid? phoneId = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size for paginated result list. (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| Guid? | inboxId | Filter by inboxId (optional) |
| Guid? | phoneId | Filter by phoneId (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageWebhookProjection | PageWebhookProjection |
Remarks
List webhooks in paginated form. Allows for page index, page size, and sort direction.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllWebhooksWithHttpInfo(int?, int?, string, string, DateTime?, Guid?, Guid?, DateTime?, int)
List Webhooks Paginated
Declaration
ApiResponse<PageWebhookProjection> GetAllWebhooksWithHttpInfo(int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, Guid? inboxId = null, Guid? phoneId = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size for paginated result list. (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| Guid? | inboxId | Filter by inboxId (optional) |
| Guid? | phoneId | Filter by phoneId (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageWebhookProjection> | ApiResponse of PageWebhookProjection |
Remarks
List webhooks in paginated form. Allows for page index, page size, and sort direction.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetInboxWebhooksPaginated(Guid, int?, int?, string, string, DateTime?, DateTime?, int)
Get paginated webhooks for an Inbox
Declaration
PageWebhookProjection GetInboxWebhooksPaginated(Guid inboxId, int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageWebhookProjection | PageWebhookProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetInboxWebhooksPaginatedWithHttpInfo(Guid, int?, int?, string, string, DateTime?, DateTime?, int)
Get paginated webhooks for an Inbox
Declaration
ApiResponse<PageWebhookProjection> GetInboxWebhooksPaginatedWithHttpInfo(Guid inboxId, int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageWebhookProjection> | ApiResponse of PageWebhookProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetJsonSchemaForWebhookEvent(string, int)
Declaration
JSONSchemaDto GetJsonSchemaForWebhookEvent(string _event, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | _event | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| JSONSchemaDto | JSONSchemaDto |
Remarks
Get JSON Schema definition for webhook payload by event
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetJsonSchemaForWebhookEventWithHttpInfo(string, int)
Declaration
ApiResponse<JSONSchemaDto> GetJsonSchemaForWebhookEventWithHttpInfo(string _event, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | _event | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<JSONSchemaDto> | ApiResponse of JSONSchemaDto |
Remarks
Get JSON Schema definition for webhook payload by event
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetJsonSchemaForWebhookPayload(Guid, int)
Declaration
JSONSchemaDto GetJsonSchemaForWebhookPayload(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| JSONSchemaDto | JSONSchemaDto |
Remarks
Get JSON Schema definition for webhook payload
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetJsonSchemaForWebhookPayloadWithHttpInfo(Guid, int)
Declaration
ApiResponse<JSONSchemaDto> GetJsonSchemaForWebhookPayloadWithHttpInfo(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<JSONSchemaDto> | ApiResponse of JSONSchemaDto |
Remarks
Get JSON Schema definition for webhook payload
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberWebhooksPaginated(Guid, int?, int?, string, DateTime?, DateTime?, int)
Get paginated webhooks for a phone number
Declaration
PageWebhookProjection GetPhoneNumberWebhooksPaginated(Guid phoneId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneId | |
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageWebhookProjection | PageWebhookProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberWebhooksPaginatedWithHttpInfo(Guid, int?, int?, string, DateTime?, DateTime?, int)
Get paginated webhooks for a phone number
Declaration
ApiResponse<PageWebhookProjection> GetPhoneNumberWebhooksPaginatedWithHttpInfo(Guid phoneId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneId | |
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageWebhookProjection> | ApiResponse of PageWebhookProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayload(string, int)
Declaration
AbstractWebhookPayload GetTestWebhookPayload(string eventName = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | eventName | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| AbstractWebhookPayload | AbstractWebhookPayload |
Remarks
Get test webhook payload example. Response content depends on eventName passed. Uses EMAIL_RECEIVED
as default.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadBounce(int)
Declaration
WebhookBouncePayload GetTestWebhookPayloadBounce(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookBouncePayload | WebhookBouncePayload |
Remarks
Get webhook test payload for bounce
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadBounceRecipient(int)
Declaration
WebhookBounceRecipientPayload GetTestWebhookPayloadBounceRecipient(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookBounceRecipientPayload | WebhookBounceRecipientPayload |
Remarks
Get webhook test payload for bounce recipient
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadBounceRecipientWithHttpInfo(int)
Declaration
ApiResponse<WebhookBounceRecipientPayload> GetTestWebhookPayloadBounceRecipientWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookBounceRecipientPayload> | ApiResponse of WebhookBounceRecipientPayload |
Remarks
Get webhook test payload for bounce recipient
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadBounceWithHttpInfo(int)
Declaration
ApiResponse<WebhookBouncePayload> GetTestWebhookPayloadBounceWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookBouncePayload> | ApiResponse of WebhookBouncePayload |
Remarks
Get webhook test payload for bounce
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadDeliveryStatus(int)
Get webhook test payload for delivery status event
Declaration
WebhookDeliveryStatusPayload GetTestWebhookPayloadDeliveryStatus(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookDeliveryStatusPayload | WebhookDeliveryStatusPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadDeliveryStatusWithHttpInfo(int)
Get webhook test payload for delivery status event
Declaration
ApiResponse<WebhookDeliveryStatusPayload> GetTestWebhookPayloadDeliveryStatusWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookDeliveryStatusPayload> | ApiResponse of WebhookDeliveryStatusPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadEmailOpened(int)
Declaration
WebhookEmailOpenedPayload GetTestWebhookPayloadEmailOpened(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookEmailOpenedPayload | WebhookEmailOpenedPayload |
Remarks
Get webhook test payload for email opened event
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadEmailOpenedWithHttpInfo(int)
Declaration
ApiResponse<WebhookEmailOpenedPayload> GetTestWebhookPayloadEmailOpenedWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookEmailOpenedPayload> | ApiResponse of WebhookEmailOpenedPayload |
Remarks
Get webhook test payload for email opened event
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadEmailRead(int)
Declaration
WebhookEmailReadPayload GetTestWebhookPayloadEmailRead(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookEmailReadPayload | WebhookEmailReadPayload |
Remarks
Get webhook test payload for email opened event
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadEmailReadWithHttpInfo(int)
Declaration
ApiResponse<WebhookEmailReadPayload> GetTestWebhookPayloadEmailReadWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookEmailReadPayload> | ApiResponse of WebhookEmailReadPayload |
Remarks
Get webhook test payload for email opened event
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadForWebhook(Guid, int)
Declaration
AbstractWebhookPayload GetTestWebhookPayloadForWebhook(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| AbstractWebhookPayload | AbstractWebhookPayload |
Remarks
Get example payload for webhook
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadForWebhookWithHttpInfo(Guid, int)
Declaration
ApiResponse<AbstractWebhookPayload> GetTestWebhookPayloadForWebhookWithHttpInfo(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<AbstractWebhookPayload> | ApiResponse of AbstractWebhookPayload |
Remarks
Get example payload for webhook
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewAttachment(int)
Get webhook test payload for new attachment event
Declaration
WebhookNewAttachmentPayload GetTestWebhookPayloadNewAttachment(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookNewAttachmentPayload | WebhookNewAttachmentPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewAttachmentWithHttpInfo(int)
Get webhook test payload for new attachment event
Declaration
ApiResponse<WebhookNewAttachmentPayload> GetTestWebhookPayloadNewAttachmentWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookNewAttachmentPayload> | ApiResponse of WebhookNewAttachmentPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewContact(int)
Get webhook test payload for new contact event
Declaration
WebhookNewContactPayload GetTestWebhookPayloadNewContact(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookNewContactPayload | WebhookNewContactPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewContactWithHttpInfo(int)
Get webhook test payload for new contact event
Declaration
ApiResponse<WebhookNewContactPayload> GetTestWebhookPayloadNewContactWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookNewContactPayload> | ApiResponse of WebhookNewContactPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewEmail(int)
Get webhook test payload for new email event
Declaration
WebhookNewEmailPayload GetTestWebhookPayloadNewEmail(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookNewEmailPayload | WebhookNewEmailPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewEmailWithHttpInfo(int)
Get webhook test payload for new email event
Declaration
ApiResponse<WebhookNewEmailPayload> GetTestWebhookPayloadNewEmailWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookNewEmailPayload> | ApiResponse of WebhookNewEmailPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewSms(int)
Get webhook test payload for new sms event
Declaration
WebhookNewSmsPayload GetTestWebhookPayloadNewSms(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookNewSmsPayload | WebhookNewSmsPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadNewSmsWithHttpInfo(int)
Get webhook test payload for new sms event
Declaration
ApiResponse<WebhookNewSmsPayload> GetTestWebhookPayloadNewSmsWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookNewSmsPayload> | ApiResponse of WebhookNewSmsPayload |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetTestWebhookPayloadWithHttpInfo(string, int)
Declaration
ApiResponse<AbstractWebhookPayload> GetTestWebhookPayloadWithHttpInfo(string eventName = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | eventName | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<AbstractWebhookPayload> | ApiResponse of AbstractWebhookPayload |
Remarks
Get test webhook payload example. Response content depends on eventName passed. Uses EMAIL_RECEIVED
as default.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhook(Guid, int)
Get a webhook
Declaration
WebhookDto GetWebhook(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookDto | WebhookDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookResult(Guid, int)
Get a webhook result for a webhook
Declaration
WebhookResultDto GetWebhookResult(Guid webhookResultId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookResultId | Webhook Result ID |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookResultDto | WebhookResultDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookResults(Guid, int?, int?, string, string, DateTime?, DateTime?, bool?, int)
Get a webhook results for a webhook
Declaration
PageWebhookResult GetWebhookResults(Guid webhookId, int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, DateTime? before = null, bool? unseenOnly = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | ID of webhook to get results for |
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| bool? | unseenOnly | Filter for unseen exceptions only (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageWebhookResult | PageWebhookResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookResultsUnseenErrorCount(int)
Get count of unseen webhook results with error status
Declaration
UnseenErrorCountDto GetWebhookResultsUnseenErrorCount(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| UnseenErrorCountDto | UnseenErrorCountDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookResultsUnseenErrorCountWithHttpInfo(int)
Get count of unseen webhook results with error status
Declaration
ApiResponse<UnseenErrorCountDto> GetWebhookResultsUnseenErrorCountWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<UnseenErrorCountDto> | ApiResponse of UnseenErrorCountDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookResultsWithHttpInfo(Guid, int?, int?, string, string, DateTime?, DateTime?, bool?, int)
Get a webhook results for a webhook
Declaration
ApiResponse<PageWebhookResult> GetWebhookResultsWithHttpInfo(Guid webhookId, int? page = null, int? size = null, string sort = null, string searchFilter = null, DateTime? since = null, DateTime? before = null, bool? unseenOnly = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | ID of webhook to get results for |
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| string | searchFilter | Optional search filter (optional) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| bool? | unseenOnly | Filter for unseen exceptions only (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageWebhookResult> | ApiResponse of PageWebhookResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookResultWithHttpInfo(Guid, int)
Get a webhook result for a webhook
Declaration
ApiResponse<WebhookResultDto> GetWebhookResultWithHttpInfo(Guid webhookResultId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookResultId | Webhook Result ID |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookResultDto> | ApiResponse of WebhookResultDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhooks(Guid, int)
Get all webhooks for an Inbox
Declaration
[Obsolete]
List<WebhookDto> GetWebhooks(Guid inboxId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| List<WebhookDto> | List<WebhookDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhooksWithHttpInfo(Guid, int)
Get all webhooks for an Inbox
Declaration
[Obsolete]
ApiResponse<List<WebhookDto>> GetWebhooksWithHttpInfo(Guid inboxId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inboxId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<List<WebhookDto>> | ApiResponse of List<WebhookDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetWebhookWithHttpInfo(Guid, int)
Get a webhook
Declaration
ApiResponse<WebhookDto> GetWebhookWithHttpInfo(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookDto> | ApiResponse of WebhookDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
RedriveWebhookResult(Guid, int)
Get a webhook result and try to resend the original webhook payload
Declaration
WebhookRedriveResult RedriveWebhookResult(Guid webhookResultId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookResultId | Webhook Result ID |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookRedriveResult | WebhookRedriveResult |
Remarks
Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
RedriveWebhookResultWithHttpInfo(Guid, int)
Get a webhook result and try to resend the original webhook payload
Declaration
ApiResponse<WebhookRedriveResult> RedriveWebhookResultWithHttpInfo(Guid webhookResultId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookResultId | Webhook Result ID |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookRedriveResult> | ApiResponse of WebhookRedriveResult |
Remarks
Allows you to resend a webhook payload that was already sent. Webhooks that fail are retried automatically for 24 hours and then put in a dead letter queue. You can retry results manually using this method.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SendTestData(Guid, int)
Send webhook test data
Declaration
WebhookTestResult SendTestData(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookTestResult | WebhookTestResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SendTestDataWithHttpInfo(Guid, int)
Send webhook test data
Declaration
ApiResponse<WebhookTestResult> SendTestDataWithHttpInfo(Guid webhookId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookTestResult> | ApiResponse of WebhookTestResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdateWebhookHeaders(Guid, WebhookHeaders, int)
Update a webhook request headers
Declaration
WebhookDto UpdateWebhookHeaders(Guid webhookId, WebhookHeaders webhookHeaders, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| WebhookHeaders | webhookHeaders | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| WebhookDto | WebhookDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdateWebhookHeadersWithHttpInfo(Guid, WebhookHeaders, int)
Update a webhook request headers
Declaration
ApiResponse<WebhookDto> UpdateWebhookHeadersWithHttpInfo(Guid webhookId, WebhookHeaders webhookHeaders, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | webhookId | |
| WebhookHeaders | webhookHeaders | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<WebhookDto> | ApiResponse of WebhookDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
VerifyWebhookSignature(VerifyWebhookSignatureOptions, int)
Verify a webhook payload signature
Declaration
VerifyWebhookSignatureResults VerifyWebhookSignature(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| VerifyWebhookSignatureOptions | verifyWebhookSignatureOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| VerifyWebhookSignatureResults | VerifyWebhookSignatureResults |
Remarks
Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
VerifyWebhookSignatureWithHttpInfo(VerifyWebhookSignatureOptions, int)
Verify a webhook payload signature
Declaration
ApiResponse<VerifyWebhookSignatureResults> VerifyWebhookSignatureWithHttpInfo(VerifyWebhookSignatureOptions verifyWebhookSignatureOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| VerifyWebhookSignatureOptions | verifyWebhookSignatureOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<VerifyWebhookSignatureResults> | ApiResponse of VerifyWebhookSignatureResults |
Remarks
Verify a webhook payload using the messageId and signature. This allows you to be sure that MailSlurp sent the payload and not another server.
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |


enum class Direction |
|
data class NavigationNode
Node in found paths. |
|
data class Path
Path of nodes, with conveniece methods. |
|
class Pathfinder : Debuggable
Find paths within the CityMap parameter. |
|
enum class TransitType
Type of node in found paths. |
val east: BlockCoordinate |
|
val north: BlockCoordinate
Direction of travel of node in found paths. |
|
val south: BlockCoordinate |
|
val stationary: BlockCoordinate |
|
val west: BlockCoordinate |


actuator.config.RendezvousTask:
Internally used task for some of the container tasks; allows a
common exit point to be identified for all tasks in the container.
actuator.config_tasks.ShellTask:
Almost the same as the CommandTask, except that the task is run within a
shell, and so shell meta-characters (rediction, etc) can be used.
actuator.modeling.CallContext:
Captures the context in which a callable argument is evaluated, and
is passed into the callable when it is invoked.
actuator.utils.ClassModifier:
This is the mechanism to create functions that modify the content
of of a class (with_dependencies, with_variables, etc).
actuator.config.RendezvousTask:
Internally used task for some of the container tasks; allows a
common exit point to be identified for all tasks in the container.
actuator.config_tasks.ShellTask:
Almost the same as the CommandTask, except that the task is run within a
shell, and so shell meta-characters (rediction, etc) can be used.
actuator.config.MultiTask:
This class allows a template task to be run against a list of
different Roles.
actuator.config.RendezvousTask:
Internally used task for some of the container tasks; allows a
common exit point to be identified for all tasks in the container.
actuator.namespace.Var:
A container for a name-value pair in which the value is a _ComputableValue, and hence whose
value can be a plain string, a string with replacement patterns, a
callable that returns a string, or an AbstractModelReference.
dict:
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list.
actuator.utils.ClassMapper:
Internal; used to map a class, and its derived classes, to some
other object.
type:
type(object) -> the object's type type(name, bases, dict) ->
a new type


Demonstrations Listed by Top-Level Domain
See the
quick tour
for a smaller set of demos that highlight the key features of Ptolemy II.
Ptolemy II Domains
CT (Continuous Time)
DDF (Dynamic Dataflow)
DE (Discrete Events)
FSM (Finite State Machines)
HDF (Heterochronous Dataflow)
PN (Process Networks)
Rendezvous (Processes with synchronous communication)
SDF (Synchronous Dataflow)
SR (Synchronous/Reactive)
Continuous Time (CT)
Brownian
Poisson
Sampled Clocks
Satellite
Ball Bounncing on a Sinusoidal Surface
Square Wave Response
Static Units
Dynamic Dataflow (DDF)
Eratosthenes
Factorial
IfThenElse
Loop
OrderedMerge
RandomWalk
RijndaelEncryption
Discrete Events (DE)
Inspection Paradox
Long Runs
Modal Model
Queue and Server (M/M/1 Queues)
Real Time Composite
(New in Ptolemy II 7.0)
Router
Smart Sender
Timing Paradox
Variable Delay
Finite State Machine (FSM)
Alternating Bit
Chained Transitions
Blending
(In the full version of Ptolemy: with codegen)
Modal Binary Symmetric Channel
(In the full version of Ptolemy: with codegen)
State Tracker
Heterochronous Dataflow (HDF)
AdaptiveCoding
Fibonacci
Hysteresis
Merge
Process Networks (PN)
Brock-Ackerman Anomaly
Nondeterministic Merge
Nondeterministic Merge with Feedback
(New in Ptolemy II 7.0)
Ordered Merge
Remove Nil Tokens
QR
Rendezvous
Barrier Synchronization
Resource Management
Sequencing
Write Regulator
Synchronous Dataflow (SDF)
Animate Vergil
Array
ApplyFFT
Butterfly
(In the full version of Ptolemy: with codegen)
Case
ColtRandom
Communications demos
:
ConvolutionalCoder
,
Scrambler
,
TrellisDecoder
,
ViterbiDecoder
DFT Subset
Expression
Expression
Eye Diagram
Fixed-Point FIR Filter
Fixed-Point Arithmetic
Fourier Series
Karplus-Strong Sound Synthesis
LMS Adaptive Filter
LogisticMap
ModelDisplay
(New in Ptolemy II 7.0)
Model Reference
Multiple Runs
NoisySinewave
Maximum Entropy Spectrum
Matlab in SDF
Windows only, requires that Matlab be installed locally
Network Integration
Ptolemnizer (using Python)
Python Integration
Rijndael Encryption
Sketched Signal
Slider Parameter and Port Parameters
Spectrum
Sound Spectrum
SynthesizedVoice
Synchronous/Reactive (SR)
GuardedCount
GuardedCountTimed
(New in Ptolemy II 7.0)
FeedbackLoop
TokenRing
TrafficLight
(New in Ptolemy II 7.0)


Star Wars
Battlefront II
The best value
in games and entertainment
-
XBOX ONE X
Faster Processing Smoother Gameplay
-
Mixer Streaming
The Next Generation Of Life Game Streaming
-
Free Games Every Month
Get up to $700 in free games
Exclusive games on XBOX
-
Call of Duty: WWII
-
Destiny 2
-
STEEP
Xbox Design Lab
Make yours one in a billion with new colors,
metallic finishes and rubberized grips.


| aconst_null |
→ null |
push a null reference onto the stack |
| dconst_0 |
→ 0.0 |
push the constant 0.0 onto the stack |
| dconst_1 |
→ 1.0 |
push the constant 1.0 onto the stack |
| fconst_0 |
→ 0.0f |
push 0.0f on the stack |
| fconst_1 |
→ 1.0f |
push 1.0f on the stack |
| fconst_2 |
→ 2.0f |
push 2.0f on the stack |
| iconst_m1 |
→ -1 |
load the int value −1 onto the stack |
| iconst_0 |
→ 0 |
load the int value 0 onto the stack |
| iconst_1 |
→ 1 |
load the int value 1 onto the stack |
| iconst_2 |
→ 2 |
load the int value 2 onto the stack |
| iconst_3 |
→ 3 |
load the int value 3 onto the stack |
| iconst_4 |
→ 4 |
load the int value 4 onto the stack |
| iconst_5 |
→ 5 |
load the int value 5 onto the stack |
| lconst_0 |
→ 0L |
push 0L onto the stack
|
| lconst_1 |
→ 1L |
push 1L onto the stack
|
| arraylength |
arrayref → length |
get the length of an array |
| aaload |
arrayref, index → value |
load onto the stack a reference from an array |
| aastore |
arrayref, index, value → |
store into a reference in an array |
| baload |
arrayref, index → value |
load a byte or Boolean value from an array |
| bastore |
arrayref, index, value → |
store a byte or Boolean value into an array |
| caload |
arrayref, index → value |
load a char from an array |
| castore |
arrayref, index, value → |
store a char into an array |
| daload |
arrayref, index → value |
load a double from an array |
| dastore |
arrayref, index, value → |
store a double into an array |
| faload |
arrayref, index → value |
load a float from an array |
| fastore |
arrayref, index, value → |
store a float in an array |
| iaload |
arrayref, index → value |
load an int from an array |
| iastore |
arrayref, index, value → |
store an int into an array |
| laload |
arrayref, index → value |
load a long from an array |
| lastore |
arrayref, index, value → |
store a long to an array |
| saload |
arrayref, index → value |
load short from array |
| sastore |
arrayref, index, value → |
store short to array |
| d2f |
value → result |
convert: double to float |
| d2i |
value → result |
convert: double to int |
| d2l |
value → result |
convert: double to long |
| f2d |
value → result |
convert: float to double |
| f2i |
value → result |
convert: float to int |
| f2l |
value → result |
convert: float to long |
| i2b |
value → result |
convert: int to byte |
| i2c |
value → result |
convert: int to char |
| i2d |
value → result |
convert: int to double |
| i2f |
value → result |
convert: int to float |
| i2l |
value → result |
convert: int to long |
| i2s |
value → result |
convert: int to short |
| l2d |
value → result |
convert: long to double |
| l2f |
value → result |
convert: long to float |
| l2i |
value → result |
convert: long to int |
| areturn |
objectref → [empty] |
return a reference from a method |
| dreturn |
value → [empty] |
return a double from a method |
| freturn |
value → [empty] |
return a float |
| ireturn |
value → [empty] |
return an int from a method |
| lreturn |
value → [empty] |
return a long value |
| return |
→ [empty] |
return void from method |
| dadd |
value1, value2 → result |
add two double valuesvalue2 + value1 |
| ddiv |
value1, value2 → result |
divide two double valuesvalue2 / value1 |
| dmul |
value1, value2 → result |
multiply two double valuesvalue2 * value1 |
| drem |
value1, value2 → result |
get the remainder from a division between two double values(value2 - ((value1 / value2) * value2)) |
| dsub |
value1, value2 → result |
subtract a double from anothervalue2 - value1 |
| fadd |
value1, value2 → result |
add two float valuesvalue2 + value1 |
| fdiv |
value1, value2 → result |
divide two float valuesvalue2 / value1 |
| fmul |
value1, value2 → result |
multiply two float valuesvalue2 * value1 |
| frem |
value1, value2 → result |
get the remainder from a division between two float values(value2 - ((value1 / value2) * value2)) |
| fsub |
value1, value2 → result |
subtract two float valuesvalue2 - value1 |
| iadd |
value1, value2 → result |
add two int valuesvalue2 + value1 |
| idiv |
value1, value2 → result |
divide two int valuesvalue2 / value1 |
| imul |
value1, value2 → result |
multiply two int valuesvalue2 * value1 |
| irem |
value1, value2 → result |
logical int remainder(value2 - ((value1 / value2) * value2)) |
| isub |
value1, value2 → result |
int subtractvalue2 - value1 |
| iand |
value1, value2 → result |
perform a bitwise AND on two int valuesvalue2 & value1 |
| ior |
value1, value2 → result |
bitwise int ORvalue2 | value1 |
| ixor |
value1, value2 → result |
int xorvalue2 ^ value1 |
| ishl |
value1, value2 → result |
int shift leftvalue2 << value1 |
| ishr |
value1, value2 → result |
int arithmetic shift rightvalue2 >> value1 |
| iushr |
value1, value2 → result |
int logical shift rightvalue2 >>> value1 |
| ladd |
value1, value2 → result |
add two long valuesvalue2 + value1 |
| ldiv |
value1, value2 → result |
divide two long valuesvalue2 / value1 |
| lmul |
value1, value2 → result |
multiply two long valuesvalue2 * value1 |
| lrem |
value1, value2 → result |
remainder of division of two long values(value2 - ((value1 / value2) * value2)) |
| lsub |
value1, value2 → result |
subtract two long valuesvalue2 - value1 |
| lshl |
value1, value2 → result |
bitwise shift left of a long value1 by int value2 positionsvalue2 << value1 |
| lshr |
value1, value2 → result |
bitwise shift right of a long value1 by int value2 positionsvalue2 >> value1 |
| lushr |
value1, value2 → result |
bitwise shift right of a long value1 by int value2 positions, unsignedvalue2 >>> value1 |
| land |
value1, value2 → result |
bitwise AND of two long valuesvalue2 ^ value1 |
| lor |
value1, value2 → result |
bitwise OR of two long valuesvalue2 | value1 |
| lxor |
value1, value2 → result |
bitwise XOR of two long valuesvalue2 ^ value1 |
| dneg |
value → result |
negate a double-value |
| fneg |
value → result |
negate a float-value |
| ineg |
value → result |
negate int-value |
| lneg |
value → result |
negate a long-value |
| dcmpg |
value1, value2 → result |
compare two double values
| Comparison |
Value |
value1 == NaN || value2 == NaN |
1 |
| value1 > value2 |
1 |
| value1 == value2 |
0 |
| value1 < value2 |
-1 |
|
| dcmpl |
value1, value2 → result |
compare two double values
| Comparison |
Value |
value1 == NaN || value2 == NaN |
-1 |
| value1 > value2 |
1 |
| value1 == value2 |
0 |
| value1 < value2 |
-1 |
|
| fcmpg |
value1, value2 → result |
compare two float values
| Comparison |
Value |
value1 == NaN || value2 == NaN |
1 |
| value1 > value2 |
1 |
| value1 == value2 |
0 |
| value1 < value2 |
-1 |
|
| fcmpl |
value1, value2 → result |
compare two float values
| Comparison |
Value |
value1 == NaN || value2 == NaN |
-1 |
| value1 > value2 |
1 |
| value1 == value2 |
0 |
| value1 < value2 |
-1 |
|
| lcmp |
value1, value2 → result |
compare two long values
| Comparison |
Value |
| value1 == value2 |
0 |
| value1 > value2 |
1 |
| else |
-1 |
|
| athrow |
objectref → [empty], objectref |
throws an error or exception (notice that the rest of the stack is cleared, leaving only a reference to the Throwable) |
| dup |
value → value, value |
duplicate the value on top of the stack |
| dup_x1 |
value2, value1 → value1, value2, value1 |
insert a copy of the top value into the stack two values from the top. value1 and value2 must not be of the type double or long. |
| dup_x2 |
value3, value2, value1 → value1, value3, value2, value1 |
insert a copy of the top value into the stack two (if value2 is double or long it takes up the entry of value3, too) or three values (if value2 is neither double nor long) from the top |
| dup2 |
{value2, value1} → {value2, value1}, {value2, value1} |
duplicate top two stack words (two values, if value1 is not double nor long; a single value, if value1 is double or long) |
| dup2_x1 |
value3, {value2, value1} → {value2, value1}, value3, {value2, value1} |
duplicate two words and insert beneath third word (see explanation above) |
| dup2_x2 |
{value4, value3}, {value2, value1} → {value2, value1}, {value4, value3}, {value2, value1} |
duplicate two words and insert beneath fourth word |
| pop |
value → |
discard the top value on the stack |
| pop2 |
{value2, value1} → |
discard the top two values on the stack (or one value, if it is a double or long) |
| swap |
value2, value1 → value1, value2 |
swaps two top words on the stack (note that value1 and value2 must not be double or long) |
| monitorenter |
objectref → |
enter monitor for object ("grab the lock" – start of synchronized() section) |
| monitorexit |
objectref → |
exit monitor for object ("release the lock" – end of synchronized() section) |
| nop |
[No change] |
do nothing |


title = "homepage" url = "/" layout = "default" meta_title = "Qtec Fire Services NZ" is_hidden = 0 [DevINX\ContactUs\Components\ContactForm contactForm] injectBootstrapAssets = 0 ==
We aim to respond to your mail within a working day. If we havent responded within one working day feel free to call us on 0800 783 234.


The web framework for writing faster sites, faster
We're performing some maintenance tasks. We'll be back soon!


Created by Michal Purzynski / @michalpurzynski
Part of the team doing enterprise information security
We don't do product security
We monitor our infrastructure
We respond to security investigations and incidents
We help developers design and implement security controls
We build tools & services to keep Mozilla secure
"A human wireshark"
No :-)
You don't want your Firefox backdoored
Protect the infrastructure^H^HFox
Firefox Sync is unreadable to us - ONLY YOU have keys
1 + 1 data center
2 "business units"
5 offices (with full stack)
AWS on the way
| 2 | full packet capture |
| 8 | Suricata - production, stage and rule profiling |
Lots of capacity - because you know, DDoS
--------------------------------------------------------------------------
Date: 7/29/2015 -- 19:59:33
--------------------------------------------------------------------------
Num Rule Gid Rev Ticks % Checks Matches Max Ticks Avg Ticks Avg Match Avg No Matc
-------- ------------ -------- -------- ------------ ------ -------- -------- ----------- ----------- ----------- ------------
1 2018785 1 3 645697341 0.02 1310 0 53719652 492898.73 0.00 492898.73
2 2017993 1 8 25724494 0.00 54 0 2684913 476379.52 0.00 476379.52
3 2020865 1 3<PHONE_NUMBER>2 1.68 137662 0 13646329 412131.24 0.00 412131.24
4 2020318 1 8 176950421 0.01 460 0 2663419 384674.83 0.00 384674.83
5 2019655 1 6 162354131 0.00 545 0 1301429 297897.49 0.00 297897.49
Profile all the things!
Myricom
64 or 128GB RAM
16 or 28 cores
2.6Ghz Turbo Boost enabled and active all the time
3.0Ghz effeciently
intelligence server, CIF, builders, MozDef
Ubuntu 14.04 LTS - hardened beyond means
minimal target - run only essentials
Hardening against kernel exploits - our /usr/local/sbin/rc.local is insane
Host based firewall, strict rules, allow SSH with MFA only
SSH with keys, no forwarding, allowed users
future - sandbox Suricata?
“* as humanly possible. Restrictions and exclusions apply.” |
#!/bin/bash
/opt/snf/sbin/myri_start_stop start myri_timesource=0
rmmod kvm-intel
rmmod kvm
rmmod microcode
rmmod lp
rmmod parport
rmmod 8021q
rmmod mrp
rmmod garp
rmmod bridge
rmmod stp
rmmod llc
rmmod psmouse
modprobe msr
modprobe xt_state
modprobe xt_LOG
modprobe xt_limit
modprobe xt_tcpudp
modprobe nf_conntrack_ipv4
modprobe nf_defrag_ipv4
modprobe xt_comment
modprobe nf_conntrack
modprobe ip6table_filter
modprobe ip6_tables
modprobe iptable_filter
modprobe ip_tables
modprobe x_tables
iptables-restore < /etc/iptables/rules.v4
ip6tables-restore < /etc/iptables/rules.v6
echo -n deadline > /sys/block/sda/queue/scheduler
cpuseq=$((`ls -lh /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq | wc -l`-1))
for i in `seq 0 "$cpuseq"`; do cpufreq-set -g performance -c $i; echo -n `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq` > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; done;
/usr/libexec/tuned/pmqos-static.py cpu_dma_latency=0
sysctl -w kernel.hotplug="/bin/true"
sysctl -w kernel.modprobe="/bin/true"
sysctl -w kernel.modules_disabled=1
sysctl -w kernel.kexec_load_disabled=1
sysctl -w net.netfilter.nf_conntrack_tcp_be_liberal=0
sysctl -w net.netfilter.nf_conntrack_tcp_loose=0
for D in $(ls /proc/irq)
do
if [[ -x "/proc/irq/$D" && $D != "0" ]]
then
echo $D
echo 1 > /proc/irq/$D/smp_affinity
fi
done
for i in `pgrep rcu` ; do taskset -pc 0 $i ; done
echo 1 > /sys/bus/workqueue/devices/writeback/cpumask
echo 0 > /sys/bus/workqueue/devices/writeback/numa
/etc/init.d/mozdefmq start
exit 0
EXTERNAL_NET: "any"
REALLY_EXTERNAL_NET: "!$HOME_NET"
2019714 "\$EXTERNAL_NET" "$REALLY_EXTERNAL_NET"
* "\$EXTERNAL_NET any \(msg:"ET MALWARE" "$REALLY_EXTERNAL_NET any (msg:"ET MALWARE"
worm, trojan, p2p, games, mobile_malware
Use only those signatures you need
Use as many signatures as you can
nsm12 :: /tmp/rules » ls *.rules | wc -l
54
cat *.rules | grep -E -v '^#|^$' | wc -l
28281
normal company - trying to talk to CnC
normal company - scanning, looking for infection targets
Mozilla - some is testing new SSL stack
Mozilla - a place where nothing is what it looks like
and get a constant stream of alerts
good luck investigating that
DNS prefetching in browsers (usually multiple IP) - resolved but didn’t connect
ET TROJAN DNS Reply Sinkhole - Anubis - <IP_ADDRESS>/26
Because DNS prefetching strikes again
Because of the cloud
Because that IP parks domains
Did anyone actually connect there?
Who is a big exe source?
Mozilla, Akamai, AWS
Where are bitcoins mined?
On hijacked AWS instances with poor security
Guilty - algoritms creating lists
"ET POLICY PE EXE or DLL Windows file download"
You want intel lists to help with investigation, not as a detection mechanism
and get a brand new scanner detection that constantly goes off
Much better!!
challenge - the same site hosts both malicious code and harmless code
DGA will sneak right past your defenses
IDS alert plus an intel hit for the same internal IP
challenge - might be IP src and/or IP dst
Why is old java talking to a bad guy?
Many signatures for the same internal IP
Why is old Java fetching exe?
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"ET POLICY Vulnerable Java Version 1.7.x Detected"; flow:established,to_server; content:"Java/1.7.0_"; http_user_agent; content:!"85"; within:2; http_user_agent; flowbits:set,ET.http.javaclient.vulnerable; threshold: type limit, count 2, seconds 300, track by_src; classtype:bad-unknown; sid:2014297; rev:37;)
alert tcp $REALLY_EXTERNAL_NET any -> $HOME_NET any (msg:"ET POLICY PE EXE or DLL Windows file download"; flow:established,to_client; content:"MZ"; byte_jump:4,58,relative,little; content:"PE|00 00|"; distance:-64; within:4; flowbits:set,ET.http.binary; classtype:policy-violation; sid:2000419; rev:22;)
alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"PDF download claimed but not PDF"; flow:established,to_client; content:"GET"; http_method; fileext:"pdf"; filemagic:!"PDF document"; filestore; sid:1; rev:1;)
or
ETPRO TROJAN EXE/SCR disguised as compressed PDF
and friends
grep your ruleset
Yet another IOC sink - subject, issuer, fingerprint
Issuer mismatch (for your corporate apps)
https://home.regit.org/2012/08/tls-fingerprint-store
Let Suricata consume intels. She likes them!
filemd5:filename;
exe, pdf, office, vbs, scr -> can be scanned automatically
Team Cymru, Virus Total, Yara
PDF - PeePDF, Pdfid, pdf-parser.py
MS Office - OfficeMalScanner
Lockheed Martin LaikaBOSS, Emerson fsf
Fetched entire malware-traffic-analysis.net
Ran through Suricata with ET Pro ruleset
Each file separately, save results to a different JSON and read back into redis
Create many and keep them focused
nsm12 :: /tmp/rules » cat downloaded.rules| grep -i phish | grep -E -v '^#' | wc -l
273
Vulnerable Java, JAR - 556
Flash, Silverlight - 291
https://github.com/michalpurzynski/ansible-nsm
@MichalPurzynski


How It Works
Our Platform
When a user launches the app for the first time, the user is
prompted to sign up.
The app uses the GPS on the phone to detect the location. After which, there’s a display of several categories where the user can choose from.
Restaurants
Restaurant receives a confirmation and starts preparation of the order.
There is an app designed for the restaurants that shows the order of the customer from our platform with an identification code. The restaurant receives a confirmation and starts preparation of the order.
Our Platform
The bikers have an app designed for them as well. Here the
location of displayed.
The app uses the GPS on the phone to detect the location. After which, there’s a display of several categories where the user can choose from. The user makes a choice.


About plug#
plug# initially was going to be called plug++ (plug Plus Plus) as a project started by Yals on 2015, but with plug's shutdown incoming the development not only slowed down but was forced to stop once it closed. After a while, two of the devs met on the musiqpad (plug.dj alternative) team, with those being Caipira (former Origem Woot Developer) and Burkes. After a little bit of talk, Caipira shared he wanted to leave Origem's legacy in the past, easy ranks, stealing code, exploits and such. With that in mind, Burkes invited him and Yals to work on something, which was going to be plug++'s comeback, but ended up being renamed.
Right now we're on Alpha and aiming to hit Beta in the next month, bringing many more new and exciting things for all the users to enjoy!


Getting started¶
Installation¶
Prerequisite
You need to install Python 3.6 and ViennaRNA. Installation guide for ViennaRNA is at their website. Please make sure that you install ‘Python 3 bindings’ as well. Once those steps are completed, you can install our software with this simple command.
pip3 install --user avoidance2
Ths will automatically install the dependencies Pandas 0.23.4 and scikit-learn 0.20.2.
Sampling your first sequences¶
To sample synonymous sequences, first, you need to import MarkovModel from the package and initialize it.
from avoidance2.markov import MarkovModel
my_model = MarkovModel() #initialize
Now, given an input sequence, we can sample any number of synonymous sequences. In this example, we sample 10 synonymous sequences.
my_model.generate(sequence='ATGCAGCGAGCGAGCGAGCGAGCAGC', num_seq=10)
|██████████████████████████████████████| 100% (10/10) Synonymous sequences
Completed!
sequence
0 ATGCAACGTGCATCTGAACGTAGC
1 ATGCAACGCGCTAGTGAACGCAGC
2 ATGCAACGTGCAAGTGAACGTAGC
3 ATGCAACGTGCTTCTGAGCGTAGC
4 ATGCAGCGCGCTTCTGAACGCAGC
5 ATGCAACGAGCGAGTGAGCGAAGC
6 ATGCAACGTGCTTCGGAACGTAGC
7 ATGCAAAGAGCTTCTGAAAGAAGC
8 ATGCAACGTGCGTCTGAGCGTAGC
9 ATGCAACGAGCGTCTGAGCGAAGC
This returns a dataframe of synonymous sequences, which can be easily exported to a csv file.
import pandas as pd
test_seq = 'ATGCAGCGAGCGAGCGAGCGAGCAGC
syn_seq = my_model.generate(sequence=test_seq, num_seq=10)
syn_seq.to_csv('syn_seq_test.csv', index=None)
This example uses the default model provided with the package to generate sequences. You can build your own model by using your own sequences. In this example, we train the model for upto 50 codons (0 to 49).
from avoidance2.markov import MarkovModel
new_mm = MarkovModel(input_file='markov_test.csv', length=50)
mm_built = new_mm.train()
|██████████████████████████████████████| 100% (49/49) Training..
Completed!
This model can be used to generate sequences.
new_mm.generate('ATGAGCGAGCGAGGCGAGCGACGAGCGAGCGACGG', num_seq=10)
:
UserWarning: Out of 10 generated sequences, 2 duplicate sequences were
removed.
sequence
0 ATGTCAGAGCGCGGCGAGCGCCGCGCTTCACGG
1 ATGTCCGAGCGCGGCGAGCGCCGCGCCTCCCGG
2 ATGTCCGAGCGGGGTGAGCGGCGGGCGTCCCGG
3 ATGTCCGAGAGGGGCGAGAGGAGGGCGTCCCGG
4 ATGTCCGAGAGAGGCGAGAGAAGAGCGTCCCGG
5 ATGTCCGAGCGGGGCGAGCGGCGGGCATCCCGG
6 ATGTCCGAACGAGGCGAACGACGAGCGTCCCGG
7 ATGTCCGAGAGGGGGGAGAGGAGGGCGTCCCGG
The built model can be exported for future use using ‘pickle’.
import pickle
with open('markov.pkl', 'wb') as model:
pickle.dump(mm_built, model)
Reusing this exported model can be done as follows:
new_mm.generate('ATGAGCGAGCGAGGCGAGCGACGAGCGAGCGACGG', model='markov.pkl',
num_seq=10)
Computing features for your sequence¶
We currently compute codon adaptation index (cai), G+C content (gc_cont), secondary structure (sec_str), avoidance (avd) and accessibility (accs). To compute features for your sequence, you can do the following:
from avoidance2.features import AnalyzeSequenceFeatures
sequence = 'ATGAGAGGCGAGCAGAGCGAGCGACGACGACGACGCAGAGCG'
analysis_ = AnalyzeSequenceFeatures(sequence)
Your desired features can be found by calling the analysis object that we just created.
analysis_.cai() #Codon adaptation index
: 0.04187077422415583
analysis_.gc_cont() #G+C content
: 0.5714285714285714
analysis_.sec_str() #Secondary structure
: -7.199999809265137
analysis_.avoidance() #Avoidance
: -4.82
analysis_.access_calc() #Accessibility
: 287.058339
Building a random forest model¶
Once the features of your sequences are calculated, we can use it to buld a random forest. The random forest classifier can be used to rank and predict the probability of being expressed.
from avoidance2.classifier import RandomForest
rfc = RandomForest(input_file='rf_test.csv') #initialize the model
my_rand_f = rfc.build_model() #build it
:
Random forest summary:
n_est accuracy AUC
===== ======== ====
50 0.650 0.702
Gini features importance:
==========================
['avd', 'cai', 'sec_str', 'gc_cont', 'accs']
[0.1609 0.1769 0.1955 0.2324 0.2342]
The built model can be exported for future use using ‘pickle’.
import pickle
with open('new_rfc.pkl', 'wb') as model:
pickle.dump(my_rand_f, model)
Scoring the sequence using random forest¶
Sequences whose features are already calculated can be scored by using a random forest. This example uses the ‘my_rand_f’ model built above.
from avoidance2.score import Score
sc = Score(input_file='rf_test.csv') #initalize score
sc.score_seq(rf=my_rand_f) #scoring using the random forest
:
accession ... rf_pred
0 >PaCD00423476 ... 0.26
1 >PaCD00651452 ... 0.92
2 >EcCD00344566 ... 0.96
3 >HmCD00598756 ... 0.32
4 >AtCD00589313 ... 0.78
5 >HmCD00536337 ... 0.96
... ... ... ...
Once the sequences are scored, you can just pick the top ‘n’ number of sequences, if you wish.
sc.select_seq(5) #picking 5 top sequences
:The max scores of current selected seqences is 1.0.
accession ... rf_pred
0 >BsCD00605596 ... 1.0
1 >VpCD00334889 ... 1.0
2 >SoCD00338340 ... 1.0
3 >BtCD00339745 ... 1.0
4 >MmCD00540649 ... 1.0
This is a dataframe which can be exported easily as above.
Optimizing sequences¶
If your sequences are scoring lower, you can optimize them further. The optimization by simulated annealing. We will take the sequence ‘>PaCD00423476’ which scored 0.26 in our model.
from avoidance2.optimization import Optimizer
poor_seq = 'ATGGCCCATGCCGCGGCGGTCGAGGAAAACCAGTTGCAGTCGCTGAAGGACGT...'
op = Optimizer(poor_seq, my_rand_f) #using the previous random forest model
optimized_seq = op.simulated_anneal(itr=10) #10 iterations
Simulated annealing progress:
iter current cost best cost
==== ============ =========
9 1.00000000 1.00000000
Our optimized sequence has scored 1 on the random forest!


Look for qualified this usages in the same class.
Examples:
Negative example: Long randomLong =(long) (Math.random() * 10); Positive example: Long randomLong = new Random().nextLong();


Welcome to Cool Burgers
Select Burger
This is where you execute burger selection
Customer information
This is where you provide necessary information
Delivery Information:
{{tempOrders.orderId}}
This is where you execute burger selection
This is where you provide necessary information


Miss Talbot's class is planning a camp. Jack feels bad. He is not keen to go to camp. "Are you OK?" Bill asks. "I am OK," Jack lies. Bill tells Miss Talbot that Jack seems sad. Miss Talbot sends Jack to the Sick Room and rings his mum. Jack's mum collects him and asks what the problem is. "I do not want to go to camp," Jack sobs. "I will miss you and dad."  She hugs him and Jack attempts a grin. Tips for combating homesickness:" Keep active" Find a pal to talk to and do thing with. It will stop you from feeling bad" Ring or email mum and dad " but not when you feel sad" Cuddle a soft toy" Pack a photo of mum, dad and your pets." Do not lie on the bed and sob.
in-context


My favourite things
Shilla
Telvin
Duncan
Mbugua
Maina
Timothy
Chapati
Rice
Youghart
Chicken
Some of my favourite things include watching TV, travelling and socializing.


Poignant pictures from Remembrance Service parades in Birmingham and beyond 10 Nov 2019, 15:03 by Cathrina Hulse-BM The Army parade off the square at the Day of National Remembrance Service, Colmore Row (Image: @AdamFradgley)1 of 10 Bishop of Birmingham Rt Rev David Urquhart KCMG lays a wreath (Image: @AdamFradgley)2 of 10 The West Mercian Regiment Band parade off the square (Image: @AdamFradgley)3 of 10 The Lord Mayor of Birmingham Cllr Mohammed Azim pays his respects (Image: @AdamFradgley)4 of 10 A sea of poppies as members of the public look at the wreaths laid after the service has ended in Colmore Row (Image: @AdamFradgley)5 of 10 The Fire Brigade parade off the square (Image: @AdamFradgley)6 of 10 The Vice Lord Lieutenant Dr Beverley Lindsay OBE OD (Image: @AdamFradgley)7 of 10 Remembrance Day service in Stourbridge (Image: Ian Findlay)8 of 10 The crowd gathers around the War Memorial in Stourbridge (Image: Ian Findlay)9 of 10 Members of the armed forces pay tribute at a parade in Stourbridge (Image: Ian Findlay)10 of 10


AWS announces Panorama, a device that adds machine learning technology to any camera
Jonathan Shieber
Google Play's Best of 2020 Awards highlight the stressful year it's been
Sarah Perez
SoftBank takes a $690M stake in cloud-based Swedish customer engagement company Sinch
Ingrid Lunden
BlackBerry shares rocket upwards on AWS deal to integrate sensor data in vehicles
Jonathan Shieber
The road to smart city infrastructure starts with research
Dominik Schiener, Mathew Yarger


If you have been using Cereal Com I would love to hear from you. While you're at it please rate Cereal Com!
The first thing you see when Cereal Com starts is the setup menu. Here you can change settings and configure the serial port before you connect. Once you are finished setting up you have 2 options:
When you have continuous data coming to the serial port that you have open you can store that data in a text file on your computer.
To send a file you must follow these steps:
Why do I keep getting an error message when I try to open the serial port?
You probably already have that port open in another program. There are other Chrome apps that use serial ports that do not properly close the serial connection when the window closes.
Unfortunately I cannot help you fix that. If you are trying to use a bluetooth port or other type of port I'm not sure. No testing has been done on anything other than serial ports.
What types of files can I send through the serial port?
Good question. Only text files have been tested. I'm not sure what other kinds of files you would want to send over such a slow connection.
What is the echo function for?
By default any character you type will not appear in the window. If you want or need to see what you are typing then check the box for echo.
What are CR and LF?
CR stands for Carriage Return and LF stands for Line Feed. You can think of it in terms of a typewriter. CR will send you back to the beginning of a line.
LF will start a new line. The data could show up in an unusual way if you do not have both. For example, if you only have CR coming from
your device and no LF you might see the same line be written over and over instead of seeing every string on a new line.
What is the character delay for?
Depending on your computer you may run into issues with characters being sent to quickly. This is mainly for sending text files.
If the characters send too quickly your connected device may miss a few and produce undesirable results. Increasing the character
delay should resolve that issue.
Are the settings stored so I don't have to choose them again at every startup?
Yes. Settings should sync to your Chrome login so settings carry over from one computer to another. The settings are saved every time
you open a connection to a serial port.
Does Cereal Com close the serial port when I close the app?
Yes. Cereal Com closes the port properly when you close the app window or when you click the stop button. Most of the other
serial communication apps in the Chrome Web Store do not.
Will you be adding any features?
I will add features to Cereal Com as they are requested. If you want a feature please e-mail me and I will try to add it. If a
feature seems like too big of an addition then I may even make it a stand-alone app. I will do my best to respond to your requests in
a timely manner. I will also be adding to the FAQ section as I get more questions.
What are the permissions for?
Access to Serial Ports is for connecting to the serial port obviously. Writing to files on your system is for 2 things. First
it is for storing settings so you don't have to choose your settings every time you open the app. Second it is for collecting
data from the serial port and storing in a file on your computer. This app does not store any personal information or anything
other than the settings and whatever you choose to store from the serial port.
Does Cereal Com collect data for analytics?
No. There is nothing in Cereal Com that collects information on you, how you use the app or anything else. I don't care how you use the
app, I just want you to use it and benefit from it.
How do I contact you if I have questions or feature requests?
Click Here
or go to the Chrome Web Store listing for Cereal Com, click the support tab and fill out the form on the right.
How does Binary work?
Some devices send information via binary (1s and 0s). Checking the 'Convert Binary to Hex' box will take in that binary data
and turn it into readable Hex values. Every byte of binary data can be converted to Hex. Instead of seeing random
garbage characters, you will now see numbers 0-9 and letters A-F in pairs (for example: AB or 3F). You can also choose how often to put the incoming binary on a
new line using the 'Binary characters before a new line' box. This is useful if you know you have a certain number of bytes
coming in.
Thank you for using Cereal Com! I hope you find it to be a very useful tool.


{% extends 'base.html' %} {% block content %}
This is a famous online garments shop which contains branded garments for reasonable prices


Embedded Style Sheet Example
Hello all and welcome to my Homework_Two assignment. This will be my first "Embedded Style Sheet" assignment in CSS for this course, followed by a "Linked Style Sheet" in CSS requirement times two. Within this assignment, we are enhancing the awesome CSS code materials provided by a very knowledgeable professor. I am learning lots and cannot wait to learn more. Critique!
The politics of the 21st century
Lefties and Righties
Socialists are to the left of liberals. Most liberals are Democrats, although some have wandered over to the Green party. Republicans are right-wingers. Most Republicans are conservative. What does conservative mean? Do they want to conserve the environment? Do they want to conserve the 2nd amendment? Do they want to conserve a woman's right to choose an abortion? Do they want to conserve a separation between church and state? Click here for Bill Gates.
San Francisco Giants
It may just be that the Giants have seen the last of Hunter Pence this season, and what a loss it will be. Pence is not only the offensive catalyst, but his presence both on the field and in the clubhouse is immense. Right now, the right fielder has been relegated to the dugout, and that may not change any time soon as he re-injured his surgically repaired hamstring muscle a few days ago. The Giants are now just one game behind the first-place Dodgers in the National League West entering the games of Aug. 27. Click here for your San Francisco Giants!
Personal Responsibility
The name of the game is personal responsibility. That means that you just need to take care of yourself and not care about things like community involvement, poor people, or the obscene gap between the rich and poor in this country.


CustomNavigationBar
@IBDesignable
public class CustomNavigationBar : UINavigationBar
Wrapper around UINavigationBar
.
Makes this controll fully customisable.
Access to UINavigationBar
should be done only by using class implemented in this class.
If something is missing, add it.
-
Setter and getter for
leftBarButton
color.Declaration
Swift
@IBInspectable public var leftBarButtonColor: UIColor! { get set }
-
Setter and getter for
leftBarButton
image.Declaration
Swift
@IBInspectable public var leftBarButtonImage: UIImage! { get set }
-
Setter and getter for
rightBarButton
color.Declaration
Swift
@IBInspectable public var rightBarButtonColor: UIColor! { get set }
-
Setter and getter for
rightBarButton
image.Declaration
Swift
@IBInspectable public var rightBarButtonImage: UIImage! { get set }
-
Setter and getter for
title
.Declaration
Swift
@IBInspectable public var title: String! { get set }
-
Setter and getter for
titleColor
.Declaration
Swift
@IBInspectable public var titleColor: UIColor! { get set }
-
Getter for leftBarButton.
Declaration
Swift
public var leftBarButton: UIBarButtonItem?
-
Completion block triggered when leftBarButton is clicked.
Declaration
Swift
public var onLeftBarButtonClick: (() -> Void)?
-
Getter for rightBarButton.
Declaration
Swift
public var rightBarButton: UIBarButtonItem?
-
Completion block triggered when rightBarButton is clicked.
Declaration
Swift
public var onRightBarButtonClick: (() -> Void)?
-
Required initialiser for xib instancing.
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Initialiser for instantioning from code. Use this when creating instance from code.
Declaration
Swift
override public init(frame: CGRect)


Food to your seat....FAST!!!!!!
Enjoy the game. We'll bring your order to you. That's why we call it EATS TO YOUR SEAT!
Taco Bell For Delicous Tacos and cheesey cheese.
Nathon's Famous Hot Dogs
Ice Cold Beer (if you're over 21)
Icy cold coke for the kids


Sridhar Kumaresan! I design and develop Web sites and Java applications.
About Me
Experienced Java and Front end Web developer with 9+ years in designing and developing
innovative solutions for major retail and ecommerce clients in the US and UK. Has worked on various Java based websites that are mobile friendly.
Exceptional record of overseeing all facets of Software Development Life Cycle,
from requirement analysis, design to implementation, maintenance and production support.
Offline, traveling absolutely tops my list—I love visiting new places with camera in hand.
I also love tennis, music, movies...
Projects I've worked on.
Web Page and Web Service
GSPN, CS Portal
Responsive internal webpages for Samsung Electronics. Developed various Webservices...
Library
Library - Migration project
Responsive internal webpage for Nike Image stack which need approval
Big Brand Bang
ECOM - Website Design and development
Responsive webpages across Europe for The Bodyshop.
Record To Report
Worked on Critical data migration from Cadbury legacy data into Kraft Foods
Generated varios Business critical reports
Ecom site - sears.com
ECOM - Website Design and Development
Worked on multiple Components under Post Order Module, which is the critical one for Ecom
CPRS
Internal Web Page for Wal-Mart
Associates can make their preference for their career within Wal-Mart
Gap Portal
Developed Internal Portal for Gap Direct Inc.,
Used to Performance Testing, Timesheet management, Trend Analysis


Use this extension on GitHub
project page
or your
Stars
page.
{title}
Starred repositories ({repos | length})
Don't sort
Sort by Name
Sort by Tag count
Show all
Untagged
Tagged
→ {filteredRepos | length}
{repo.name}
{repo.tags | length}
open project page


{{desc}}
it's {{features}}
made by {{author}} ,{{sex}}
and {{others}}
name:
version:
features: easily efficiently powerful
author: MrSoya MrYosa MrSayo
sex: man woman
desc: {{desc}}
others: soya2d h5stars


This is a JavaScript implementation (view source) of Conway's Game of Life. Click on the squares in the grid below to specify the initial state.


|
JTS Topology Suite version 1.13 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.geom.IntersectionMatrix
public class IntersectionMatrix
Models a Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix.
DE-9IM matrices (such as "212FF1FF2")
specify the topological relationship between two Geometry
s.
This class can also represent matrix patterns (such as "T*T******")
which are used for matching instances of DE-9IM matrices.
Methods are provided to:
For a description of the DE-9IM and the spatial predicates derived from it, see the OGC 99-049 OpenGIS Simple Features Specification for SQL, as well as OGC 06-103r4 OpenGIS Implementation Standard for Geographic information - Simple feature access - Part 1: Common architecture (which provides some further details on certain predicate specifications).
The entries of the matrix are defined by the constants in the Dimension
class.
The indices of the matrix represent the topological locations
that occur in a geometry (Interior, Boundary, Exterior).
These are provided as constants in the Location
class.
| Constructor Summary | |
|---|---|
IntersectionMatrix()
Creates an IntersectionMatrix with FALSE
dimension values. |
|
IntersectionMatrix(IntersectionMatrix other)
Creates an IntersectionMatrix with the same elements as
other . |
|
IntersectionMatrix(java.lang.String elements)
Creates an IntersectionMatrix with the given dimension
symbols. |
| Method Summary | |
|---|---|
void |
add(IntersectionMatrix im)
Adds one matrix to another. |
int |
get(int row,
int column)
Returns the value of one of this matrix entries. |
boolean |
isContains()
Tests whether this IntersectionMatrix is
T*****FF*. |
boolean |
isCoveredBy()
Returns true if this IntersectionMatrix is
T*F**F***
or *TF**F***
or **FT*F***
or **F*TF*** |
boolean |
isCovers()
Returns true if this IntersectionMatrix is
T*****FF*
or *T****FF*
or ***T**FF*
or ****T*FF* |
boolean |
isCrosses(int dimensionOfGeometryA,
int dimensionOfGeometryB)
Tests whether this geometry crosses the specified geometry. |
boolean |
isDisjoint()
Returns true if this IntersectionMatrix is
FF*FF****. |
boolean |
isEquals(int dimensionOfGeometryA,
int dimensionOfGeometryB)
Tests whether the argument dimensions are equal and this IntersectionMatrix matches
the pattern T*F**FFF*. |
boolean |
isIntersects()
Returns true if isDisjoint returns false. |
boolean |
isOverlaps(int dimensionOfGeometryA,
int dimensionOfGeometryB)
Returns true if this IntersectionMatrix is
T*T***T** (for two points or two surfaces)
1*T***T** (for two curves)
. |
boolean |
isTouches(int dimensionOfGeometryA,
int dimensionOfGeometryB)
Returns true if this IntersectionMatrix is
FT*******, F**T***** or F***T****. |
static boolean |
isTrue(int actualDimensionValue)
Tests if the dimension value matches TRUE (i.e. |
boolean |
isWithin()
Tests whether this IntersectionMatrix is
T*F**F***. |
static boolean |
matches(int actualDimensionValue,
char requiredDimensionSymbol)
Tests if the dimension value satisfies the dimension symbol. |
boolean |
matches(java.lang.String requiredDimensionSymbols)
Returns whether the elements of this IntersectionMatrix
satisfies the required dimension symbols. |
static boolean |
matches(java.lang.String actualDimensionSymbols,
java.lang.String requiredDimensionSymbols)
Tests if each of the actual dimension symbols in a matrix string satisfies the corresponding required dimension symbol in a pattern string. |
void |
set(int row,
int column,
int dimensionValue)
Changes the value of one of this IntersectionMatrix s
elements. |
void |
set(java.lang.String dimensionSymbols)
Changes the elements of this IntersectionMatrix to the
dimension symbols in dimensionSymbols . |
void |
setAll(int dimensionValue)
Changes the elements of this IntersectionMatrix to dimensionValue
. |
void |
setAtLeast(int row,
int column,
int minimumDimensionValue)
Changes the specified element to minimumDimensionValue if the
element is less. |
void |
setAtLeast(java.lang.String minimumDimensionSymbols)
For each element in this IntersectionMatrix , changes the
element to the corresponding minimum dimension symbol if the element is
less. |
void |
setAtLeastIfValid(int row,
int column,
int minimumDimensionValue)
If row >= 0 and column >= 0, changes the specified element to minimumDimensionValue
if the element is less. |
java.lang.String |
toString()
Returns a nine-character String representation of this IntersectionMatrix
. |
IntersectionMatrix |
transpose()
Transposes this IntersectionMatrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IntersectionMatrix()
IntersectionMatrix
with FALSE
dimension values.
public IntersectionMatrix(java.lang.String elements)
IntersectionMatrix
with the given dimension
symbols.
elements
- a String of nine dimension symbols in row major orderpublic IntersectionMatrix(IntersectionMatrix other)
IntersectionMatrix
with the same elements as
other
.
other
- an IntersectionMatrix
to copy| Method Detail |
|---|
public void add(IntersectionMatrix im)
im
- the matrix to addpublic static boolean isTrue(int actualDimensionValue)
actualDimensionValue
- a number that can be stored in the IntersectionMatrix
. Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}
.
public static boolean matches(int actualDimensionValue, char requiredDimensionSymbol)
actualDimensionValue
- a number that can be stored in the IntersectionMatrix
. Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}
.requiredDimensionSymbol
- a character used in the string
representation of an IntersectionMatrix
. Possible values
are {T, F, * , 0, 1, 2}
.
public static boolean matches(java.lang.String actualDimensionSymbols, java.lang.String requiredDimensionSymbols)
actualDimensionSymbols
- nine dimension symbols to validate.
Possible values are {T, F, * , 0, 1, 2}
.requiredDimensionSymbols
- nine dimension symbols to validate
against. Possible values are {T, F, * , 0, 1, 2}
.
public void set(int row, int column, int dimensionValue)
IntersectionMatrix
s
elements.
row
- the row of this IntersectionMatrix
,
indicating the interior, boundary or exterior of the first Geometry
column
- the column of this IntersectionMatrix
,
indicating the interior, boundary or exterior of the second Geometry
dimensionValue
- the new value of the elementpublic void set(java.lang.String dimensionSymbols)
IntersectionMatrix
to the
dimension symbols in dimensionSymbols
.
dimensionSymbols
- nine dimension symbols to which to set this IntersectionMatrix
s elements. Possible values are {T, F, * , 0, 1, 2}
public void setAtLeast(int row, int column, int minimumDimensionValue)
minimumDimensionValue
if the
element is less.
row
- the row of this IntersectionMatrix
, indicating the interior, boundary or exterior of the first Geometry
column
- the column of this IntersectionMatrix
, indicating the interior, boundary or exterior of the second Geometry
minimumDimensionValue
- the dimension value with which to compare the
element. The order of dimension values from least to greatest is
{DONTCARE, TRUE, FALSE, 0, 1, 2}
.public void setAtLeastIfValid(int row, int column, int minimumDimensionValue)
minimumDimensionValue
if the element is less. Does nothing if row <0 or column < 0.
row
- the row of this IntersectionMatrix
, indicating the interior, boundary or exterior of the first Geometry
column
- the column of this IntersectionMatrix
, indicating the interior, boundary or exterior of the second Geometry
minimumDimensionValue
- the dimension value with which to compare the
element. The order of dimension values from least to greatest is
{DONTCARE, TRUE, FALSE, 0, 1, 2}
.public void setAtLeast(java.lang.String minimumDimensionSymbols)
IntersectionMatrix
, changes the
element to the corresponding minimum dimension symbol if the element is
less.
minimumDimensionSymbols
- nine dimension symbols with which to
compare the elements of this IntersectionMatrix
. The
order of dimension values from least to greatest is {DONTCARE, TRUE, FALSE, 0, 1, 2}
.public void setAll(int dimensionValue)
IntersectionMatrix
to dimensionValue
.
dimensionValue
- the dimension value to which to set this IntersectionMatrix
s elements. Possible values {TRUE, FALSE, DONTCARE, 0, 1, 2}
.public int get(int row, int column)
Location
class.
The value returned is a constant
from the Dimension
class.
row
- the row of this IntersectionMatrix
, indicating
the interior, boundary or exterior of the first Geometry
column
- the column of this IntersectionMatrix
,
indicating the interior, boundary or exterior of the second Geometry
public boolean isDisjoint()
true
if this IntersectionMatrix
is
FF*FF****.
true
if the two Geometry
s related by
this IntersectionMatrix
are disjointpublic boolean isIntersects()
true
if isDisjoint
returns false.
true
if the two Geometry
s related by
this IntersectionMatrix
intersectpublic boolean isTouches(int dimensionOfGeometryA, int dimensionOfGeometryB)
true
if this IntersectionMatrix
is
FT*******, F**T***** or F***T****.
dimensionOfGeometryA
- the dimension of the first Geometry
dimensionOfGeometryB
- the dimension of the second Geometry
true
if the two Geometry
s related by this IntersectionMatrix
touch; Returns false
if both Geometry
s are points.public boolean isCrosses(int dimensionOfGeometryA, int dimensionOfGeometryB)
The crosses
predicate has the following equivalent definitions:
false
.
The SFS defined this predicate only for P/L, P/A, L/L, and L/A situations. JTS extends the definition to apply to L/P, A/P and A/L situations as well. This makes the relation symmetric.
dimensionOfGeometryA
- the dimension of the first Geometry
dimensionOfGeometryB
- the dimension of the second Geometry
true
if the two Geometry
s
related by this IntersectionMatrix
cross.public boolean isWithin()
IntersectionMatrix
is
T*F**F***.
true
if the first Geometry
is within
the secondpublic boolean isContains()
IntersectionMatrix
is
T*****FF*.
true
if the first Geometry
contains the
secondpublic boolean isCovers()
true
if this IntersectionMatrix
is
T*****FF*
or *T****FF*
or ***T**FF*
or ****T*FF*
true
if the first Geometry
covers the
secondpublic boolean isCoveredBy()
true
if this IntersectionMatrix
is
T*F**F***
or *TF**F***
or **FT*F***
or **F*TF***
true
if the first Geometry
is covered by the secondpublic boolean isEquals(int dimensionOfGeometryA, int dimensionOfGeometryB)
IntersectionMatrix
matches
the pattern T*F**FFF*.
Note: This pattern differs from the one stated in Simple feature access - Part 1: Common architecture. That document states the pattern as TFFFTFFFT. This would specify that two identical POINTs are not equal, which is not desirable behaviour. The pattern used here has been corrected to compute equality in this situation.
dimensionOfGeometryA
- the dimension of the first Geometry
dimensionOfGeometryB
- the dimension of the second Geometry
true
if the two Geometry
s
related by this IntersectionMatrix
are equal; the
Geometry
s must have the same dimension to be equalpublic boolean isOverlaps(int dimensionOfGeometryA, int dimensionOfGeometryB)
true
if this IntersectionMatrix
is
dimensionOfGeometryA
- the dimension of the first Geometry
dimensionOfGeometryB
- the dimension of the second Geometry
true
if the two Geometry
s
related by this IntersectionMatrix
overlap. For this
function to return true
, the Geometry
s must
be two points, two curves or two surfaces.public boolean matches(java.lang.String requiredDimensionSymbols)
IntersectionMatrix
satisfies the required dimension symbols.
requiredDimensionSymbols
- nine dimension symbols with which to
compare the elements of this IntersectionMatrix
. Possible
values are {T, F, * , 0, 1, 2}
.
true
if this IntersectionMatrix
matches the required dimension symbolspublic IntersectionMatrix transpose()
IntersectionMatrix
as a conveniencepublic java.lang.String toString()
String
representation of this IntersectionMatrix
.
toString
in class java.lang.Object
IntersectionMatrix
in row-major order.
|
JTS Topology Suite version 1.13 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |